Function at 0x402ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421786
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x42d02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x423760
push 0x71
push dword [0x42db5c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push dword [0x42db5c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [0x42db5c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x64], 0
mov edi, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402f82
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x64]
call fcn.004055f0
push esi
push edi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 1
call fcn.00402020
mov ecx, dword [ebp - 0xc0]
mov eax, 0x78787879
mov esi, dword [ebp - 0xc4]
xor ebx, ebx
sub ecx, esi
mov byte [ebp - 4], 2
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x84], eax
test eax, eax
jle 0x4033b7
xor edi, edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0
lea edx, [esi + edi]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov ecx, edx
mov byte [ebp - 4], 4
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403034
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.004055f0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406550
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.00402a70
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
push dword [ebp - 0x9c]
cmovae eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 7
call fcn.004055f0
lea ecx, [ebp - 0xac]
call fcn.00402a10
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
cmovae eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 5
mov byte [eax], 0
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x4030f0
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4030e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push edx
push ecx
call fcn.0041049c
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.00405ed0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00406000
test eax, eax
je 0x40340e
lea eax, [ebp - 0x94]
push eax
push ebx
lea ecx, [ebp - 0xd0]
call fcn.00402500
lea ecx, [ebp - 0x94]
mov esi, eax
call fcn.00405fb0
test esi, esi
je 0x403287
lea ecx, [ebp - 0x94]
call fcn.00405ef0
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x4c]
mov byte [eax], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x403197
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40318d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push edx
push ecx
call fcn.0041049c
add esp, 8
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test esi, esi
je 0x40321d
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x4031c1
nop dword [eax]
mov ecx, esi
call fcn.00402a10
add esi, 0x18
cmp esi, edi
jne 0x4031b0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4031fb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push ecx
push esi
call fcn.0041049c
mov edi, dword [ebp - 0x80]
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x34]
mov byte [eax], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x403266
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40325c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push edx
push ecx
call fcn.0041049c
add esp, 8
inc ebx
add edi, 0x110
mov dword [ebp - 0x80], edi
cmp ebx, dword [ebp - 0x84]
jge 0x4033b7
mov esi, dword [ebp - 0xc4]
jmp 0x402fe1
mov eax, dword [0x42dc1c]
test eax, eax
je 0x403295
mov eax, dword [eax + 8]
jmp 0x403297
xor eax, eax
push eax
push 0
push 0x423764
mov ecx, 0x42db58
call fcn.0040f730
lea ecx, [ebp - 0x94]
call fcn.00405ef0
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
mov byte [eax], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x4032f6
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4032ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push edx
push ecx
call fcn.0041049c
add esp, 8
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40336e
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x403315
mov ecx, esi
call fcn.00402a10
add esi, 0x18
cmp esi, edi
jne 0x403304
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40334f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push ecx
push esi
call fcn.0041049c
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x34]
mov byte [eax], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x4033b7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4033ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push edx
push ecx
call fcn.0041049c
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.004023d0
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
mov dword [ebp - 0x54], 0
cmovae eax, dword [ebp - 0x64]
mov byte [eax], 0
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x40352c
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403522
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354a
jmp 0x403522
lea ecx, [ebp - 0x94]
call fcn.00405ef0
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
mov byte [eax], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x40345b
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403451
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push edx
push ecx
call fcn.0041049c
add esp, 8
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4034da
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x403481
nop dword [eax]
mov ecx, esi
call fcn.00402a10
add esi, 0x18
cmp esi, edi
jne 0x403470
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4034bb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push ecx
push esi
call fcn.0041049c
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x34]
mov byte [eax], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x4033b7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4033ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
jmp 0x4033ad
push edx
push ecx
call fcn.0041049c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004104aa
mov esp, ebp
pop ebp
ret 4
call fcn.004135ef
call fcn.004135ef
int3