Function at 0x2435d20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x24bfe61
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x430
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
jne 0x2435d50
xor eax, eax
jmp 0x24360f4
push 2
push edx
push ebx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x24360f4
push esi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebp, eax
cmp ebp, 0x28
mov dword [esp + 0x14], ebp
jae 0x2435d7e
xor eax, eax
jmp 0x24360f4
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x24360f4
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x20], ecx
je 0x24360f4
mov edi, dword [ecx]
cmp edi, 0x28
mov dword [esp + 0x10], edi
jae 0x2435db5
xor eax, eax
jmp 0x24360f4
cmp ebp, edi
jae 0x2435dc0
xor eax, eax
jmp 0x24360f4
mov eax, dword [ecx + 4]
cdq
mov ebx, eax
mov eax, dword [ecx + 8]
xor ebx, edx
sub ebx, edx
cdq
mov ebp, eax
xor eax, eax
mov ax, word [ecx + 0xe]
xor ebp, edx
sub ebp, edx
mov dword [esp + 0x24], ebp
cmp eax, 8
je 0x2435f31
cmp eax, 0x18
je 0x2435df3
xor eax, eax
jmp 0x24360f4
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x2435e01
xor eax, eax
jmp 0x24360f4
cmp dword [ecx + 0x20], 0x100
jbe 0x2435e11
xor eax, eax
jmp 0x24360f4
mov ax, word [ecx + 0x20]
lea edx, [ebx + ebx*2]
lea esi, [edx*8 + 7]
shr esi, 3
add esi, 3
and esi, 0xfffffffc
mov edx, esi
imul edx, ebp
and eax, 0xffff
shl eax, 2
add edx, eax
add edx, edi
cmp dword [esp + 0x14], edx
jae 0x2435e46
xor eax, eax
jmp 0x24360f4
mov edx, dword [esp + 0x10]
add eax, edx
add eax, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.0240dc70
xor edi, edi
test ebp, ebp
mov dword [esp + 0x448], 2
mov dword [esp + 0x28], 0xff0000
mov dword [esp + 0x2c], 0xff00
mov dword [esp + 0x30], 0xff
jbe 0x2435f02
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, esi
neg eax
dec ebp
imul ebp, esi
mov dword [esp + 0x1c], eax
add ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
test eax, eax
jl 0x2435ec7
mov ecx, dword [esp + 0x450]
lea edx, [esp + 0x28]
push edx
push 0x18
push 0
push ebp
push ebx
push edi
push 0
call fcn.0240b180
test eax, eax
je 0x2435f16
jmp 0x2435ee9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push 0x18
push 0
push ecx
mov ecx, dword [esp + 0x460]
push ebx
push edi
push 0
call fcn.0240b180
test eax, eax
je 0x2435f16
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc edi
add ecx, esi
add ebp, edx
cmp edi, eax
mov dword [esp + 0x10], ecx
jb 0x2435e9c
mov dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x28]
jmp 0x24360ea
lea ecx, [esp + 0x28]
mov dword [esp + 0x448], 0xffffffff
call fcn.0247c770
xor eax, eax
jmp 0x24360f4
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x2435f3f
xor eax, eax
jmp 0x24360f4
mov eax, dword [ecx + 0x20]
cmp eax, 0x100
jbe 0x2435f50
xor eax, eax
jmp 0x24360f4
test eax, eax
je 0x2435f5a
mov cx, word [ecx + 0x20]
jmp 0x2435f5f
mov ecx, 0x100
mov edi, dword [esp + 0x14]
lea esi, [ebx*8 + 7]
shr esi, 3
add esi, 3
and esi, 0xfffffffc
mov edx, esi
imul edx, dword [esp + 0x24]
mov ebp, ecx
mov ecx, dword [esp + 0x10]
and ebp, 0xffff
lea eax, [ebp*4]
add edx, eax
add edx, ecx
cmp edi, edx
jae 0x2435f9c
xor eax, eax
jmp 0x24360f4
add eax, ecx
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.0240dc70
xor edx, edx
xor eax, eax
cmp ebp, edx
mov ecx, 0x100
lea edi, [esp + 0x40]
mov dword [esp + 0x448], edx
mov dword [esp + 0x34], 0xff0000
mov dword [esp + 0x38], 0xff00
mov dword [esp + 0x3c], 0xff
rep stosd dword es:[edi], eax
jbe 0x2436011
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x40]
lea edi, [ecx + edx + 1]
xor ecx, ecx
mov ch, byte [edi + 1]
xor edx, edx
mov dl, byte [edi - 1]
add edi, 4
add eax, 4
mov cl, byte [edi - 4]
shl ecx, 8
or ecx, edx
dec ebp
mov dword [eax - 4], ecx
jne 0x2435ff1
xor edx, edx
mov dword [esp + 0x18], edx
lea edi, [ebx*4]
cmp edi, edx
mov byte [esp + 0x448], 1
mov dword [esp + 0x14], edx
je 0x243611c
push edi
call fcn.024acf00
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x18], edx
je 0x243611c
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
xor ebp, ebp
test edi, edi
jbe 0x24360d2
mov eax, dword [esp + 0x1c]
mov ecx, esi
neg ecx
dec edi
imul edi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
add edi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
push 0
push 0
jl 0x2436084
lea ecx, [esp + 0x48]
push ecx
push ebx
mov ecx, edi
jmp 0x243608e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.02411500
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x454]
push 0x20
push 0
push edx
push ebx
push ebp
push 0
call fcn.0240b180
test eax, eax
je 0x243610f
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
inc ebp
add edi, edx
mov edx, dword [esp + 0x18]
add ecx, esi
cmp ebp, eax
mov dword [esp + 0x10], ecx
jb 0x243606b
push edx
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0247c770
mov eax, 1
mov ecx, dword [esp + 0x440]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret 4
mov eax, dword [esp + 0x18]
push eax
call fcn.024ad03a
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x448], 0xffffffff
call fcn.0247c770
xor eax, eax
jmp 0x24360f4