Function at 0x437eea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x465f3a
call fcn.0045962c
sub esp, 0x14c
and dword [ebp - 0x18], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x29c]
mov ecx, dword [esi + 0x290]
mov dword [ebp - 0x20], eax
imul eax, eax, 0x57
mov edx, dword [ecx + 0x2c]
add eax, edx
test byte [eax + 0x54], 1
je 0x437f28
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x20], eax
jmp 0x437f12
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00439c72
mov edi, dword [eax]
cmp dword [esi + 0x10], edi
je 0x43800c
cmp dword [edi + 0x38], 0
jle 0x43800c
lea ebx, [esi + 0x2dc]
mov ecx, ebx
call fcn.00427cdc
push 0
push 0
push 3
push 0x80
add edi, 0x10
push 1
push 0x80000000
push edi
mov ecx, ebx
call fcn.0042805e
test eax, eax
mov dword [ebp - 0x14], eax
je 0x437fd9
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xe8], 0x46b678
call fcn.00423d04
mov dword [ebp - 0x18], 1
and dword [ebp - 4], 0
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe8]
push edi
call fcn.00427fef
mov eax, dword [ebp - 0xe8]
or dword [ebp - 4], 0xffffffff
push 0x475990
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x46b670
lea eax, [ebp - 0xe8]
push eax
call fcn.00459775
and byte [esi + 0x4c], 0
and byte [esi + 0x4d], 0
mov ecx, ebx
mov byte [esi + 0x4e], 1
lea edi, [esi + 0x320]
call fcn.00437525
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [edi]
mov dword [esi + 0x328], eax
mov eax, edx
mov dword [esi + 0x32c], eax
jmp 0x4384bd
mov eax, dword [esi + 0x31c]
test byte [eax + 0x14], 8
je 0x438150
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0xd]
push 0
mov ebx, 0x46ab58
mov eax, dword [eax + 0x3a]
mov edi, 0x46ab50
push ecx
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x58], edi
call fcn.00416fa1
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0xe]
push 0
push ecx
mov eax, dword [eax + 0x1e]
lea ecx, [ebp - 0x50]
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x30], edi
call fcn.00416fa1
mov eax, dword [esi + 0x318]
mov ecx, esi
mov byte [ebp - 4], 2
mov ax, word [eax + 0x3e]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00437869
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 3
call fcn.00429edd
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00429edd
add esp, 0x18
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 9
call fcn.0040bf10
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call fcn.0040bf10
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.0040bf10
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.0040bf10
lea ebx, [esi + 0x2dc]
mov ecx, ebx
call fcn.00427cdc
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xa0]
imul ecx, ecx, 0x57
push eax
mov eax, dword [esi + 0x290]
mov eax, dword [eax + 0x2c]
movzx eax, word [eax + ecx + 0x55]
push eax
push ebx
mov ecx, esi
call fcn.004379fc
mov ecx, ebx
lea edi, [esi + 0x320]
call fcn.00437525
or dword [ebp - 4], 0xffffffff
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [edi]
mov dword [esi + 0x328], eax
mov eax, edx
mov dword [esi + 0x32c], eax
lea ecx, [ebp - 0xa0]
call fcn.0040bf10
jmp 0x4384bd
mov eax, dword [eax + 0x2e]
cmp byte [eax], 0
je 0x438406
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0xe]
push 0
mov ebx, 0x46ab58
mov eax, dword [eax + 0x3a]
mov edi, 0x46ab50
push ecx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x30], edi
call fcn.00416fa1
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], 0xa
mov eax, dword [eax + 0x2e]
mov dword [ebp - 0x78], ebx
xor ebx, ebx
mov dword [ebp - 0x58], edi
push ebx
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.00416fa1
mov eax, dword [esi + 0x318]
mov ecx, esi
mov byte [ebp - 4], 0xb
mov ax, word [eax + 0x3e]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00437869
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0xc
call fcn.00429edd
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00429edd
add esp, 0x18
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x12
call fcn.0040bf10
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x11
call fcn.0040bf10
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x10
call fcn.0040bf10
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.0040bf10
lea edi, [esi + 0x2dc]
mov ecx, edi
call fcn.00427cdc
push ebx
push ebx
push 3
push 0x80
push 1
lea eax, [ebp - 0xa0]
push 0x80000000
push eax
mov ecx, edi
call fcn.0042805e
mov ecx, edi
call fcn.00437525
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], edx
mov eax, dword [esi + 0x320]
push 0xffffffffffffffff
mov dword [esi + 0x328], eax
mov eax, edx
mov dword [esi + 0x32c], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0043ade6
mov edx, dword [ebp - 0x14]
xor eax, eax
cmp eax, dword [esi + 0x32c]
jl 0x438303
jg 0x4382a0
cmp edx, dword [esi + 0x328]
jbe 0x438303
push 0x17
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x158], 0x46b678
call fcn.00423d04
mov dword [ebp - 0x18], 2
push ebx
lea eax, [ebp - 0xa0]
push 0x17
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x13
call fcn.00427fef
mov eax, dword [ebp - 0x158]
push 0x475990
mov dword [ebp - 4], 0xf
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x158], 0x46b670
lea eax, [ebp - 0x158]
push eax
call fcn.00459775
cmp dword [esi + 0x374], edx
lea ecx, [esi + 0x374]
jae 0x438346
lea eax, [edx + 4]
push eax
mov dword [ecx], eax
call fcn.004597af
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], cl
push eax
lea ecx, [esi + 0x36c]
call fcn.004424cc
cmp byte [ebp - 0x1c], 0
je 0x438346
push dword [ebp - 0x18]
call fcn.004523d5
pop ecx
mov eax, dword [esi + 0x370]
lea ebx, [esi + 0x370]
lea ecx, [ebp - 0x14]
push 4
push ecx
push eax
call fcn.00459af0
mov ebx, dword [ebx]
add esp, 0xc
add ebx, 4
mov ecx, edi
push dword [ebp - 0x14]
push ebx
call fcn.0043ae69
mov eax, dword [ebp - 0x14]
add eax, 4
sub dword [esi + 0x320], eax
sbb dword [esi + 0x324], 0
mov eax, dword [esi + 0x320]
cmp dword [esi + 0x364], 0
mov dword [esi + 0x328], eax
mov eax, dword [esi + 0x324]
mov dword [esi + 0x32c], eax
jne 0x4383ea
push str.PUBLICKEY
push 0xd0
push dword [0x497d84]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push dword [0x497d84]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov dword [esi + 0x368], eax
push dword [0x497d84]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x364], eax
add esi, 0x37c
push esi
call fcn.00455d7b
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0xa0]
jmp 0x438146
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 0x290]
imul ecx, ecx, 0x57
mov eax, dword [eax + 0x2c]
movzx eax, word [eax + ecx + 0x55]
push eax
mov ecx, esi
call fcn.00437d2b
lea ebx, [esi + 0x2a0]
lea edi, [esi + 0x2dc]
cmp ebx, edi
je 0x438441
mov ecx, edi
call fcn.00427cdc
push ebx
mov ecx, edi
call fcn.00427f5c
mov eax, dword [esi + 0x318]
mov ecx, dword [eax + 0xa]
mov dword [esi + 0x320], ecx
mov ecx, dword [eax + 0xe]
mov dword [esi + 0x324], ecx
test byte [eax], 1
je 0x438491
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0x328], eax
mov eax, dword [esi + 0xf0]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x32c], eax
mov eax, dword [esi + 0xdc]
push ecx
push 0
mov dword [ebp - 0x1c], eax
push eax
jmp 0x4384b6
mov ecx, dword [eax + 0xa]
mov dword [esi + 0x328], ecx
mov ecx, dword [eax + 0xe]
mov dword [esi + 0x32c], ecx
mov ecx, dword [eax + 0x12]
mov eax, dword [eax + 0x16]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0
push ecx
mov ecx, edi
call fcn.00435d76
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret