Function at 0x43850e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x46740e
call fcn.0045aa08
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 0x43854c
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x20], eax
jmp 0x438536
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043a3ac
mov edi, dword [eax]
cmp dword [esi + 0x10], edi
je 0x438630
cmp dword [edi + 0x38], 0
jle 0x438630
lea ebx, [esi + 0x2dc]
mov ecx, ebx
call fcn.00427b82
push 0
push 0
push 3
push 0x80
add edi, 0x10
push 1
push SysReAllocString
push edi
mov ecx, ebx
call fcn.00427e95
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4385fd
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xe8], 0x46c6ac
call fcn.00423a29
mov dword [ebp - 0x18], 1
and dword [ebp - 4], 0
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe8]
push edi
call fcn.00427998
mov eax, dword [ebp - 0xe8]
or dword [ebp - 4], 0xffffffff
push 0x4769f8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x46c6a4
lea eax, [ebp - 0xe8]
push eax
call fcn.0045ab51
and byte [esi + 0x4c], 0
and byte [esi + 0x4d], 0
mov ecx, ebx
mov byte [esi + 0x4e], 1
lea edi, [esi + 0x320]
call fcn.00437b34
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 0x438ae1
mov eax, dword [esi + 0x31c]
test byte [eax + 0x14], 8
je 0x438774
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0xd]
push 0
mov ebx, 0x46bb80
mov eax, dword [eax + 0x3a]
mov edi, 0x46bb78
push ecx
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x58], edi
call fcn.00416ca8
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.00416ca8
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.00437e86
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 3
call fcn.00429f79
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00429f79
add esp, 0x18
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 9
call fcn.0040be47
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call fcn.0040be47
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.0040be47
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.0040be47
lea ebx, [esi + 0x2dc]
mov ecx, ebx
call fcn.00427b82
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.00438019
mov ecx, ebx
lea edi, [esi + 0x320]
call fcn.00437b34
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.0040be47
jmp 0x438ae1
mov eax, dword [eax + 0x2e]
cmp byte [eax], 0
je 0x438a2a
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0xe]
push 0
mov ebx, 0x46bb80
mov eax, dword [eax + 0x3a]
mov edi, 0x46bb78
push ecx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x30], edi
call fcn.00416ca8
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.00416ca8
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.00437e86
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0xc
call fcn.00429f79
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00429f79
add esp, 0x18
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x12
call fcn.0040be47
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x11
call fcn.0040be47
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x10
call fcn.0040be47
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.0040be47
lea edi, [esi + 0x2dc]
mov ecx, edi
call fcn.00427b82
push ebx
push ebx
push 3
push 0x80
push 1
lea eax, [ebp - 0xa0]
push SysReAllocString
push eax
mov ecx, edi
call fcn.00427e95
mov ecx, edi
call fcn.00437b34
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.0043b6cb
mov edx, dword [ebp - 0x14]
xor eax, eax
cmp eax, dword [esi + 0x32c]
jl 0x438927
jg 0x4388c4
cmp edx, dword [esi + 0x328]
jbe 0x438927
push 0x17
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x158], 0x46c6ac
call fcn.00423a29
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.00427998
mov eax, dword [ebp - 0x158]
push 0x4769f8
mov dword [ebp - 4], 0xf
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x158], 0x46c6a4
lea eax, [ebp - 0x158]
push eax
call fcn.0045ab51
cmp dword [esi + 0x384], edx
lea ecx, [esi + 0x384]
jae 0x43896a
lea eax, [edx + 4]
push eax
mov dword [ecx], eax
call fcn.0045ab8b
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 + 0x37c]
call fcn.0043a197
cmp byte [ebp - 0x1c], 0
je 0x43896a
push dword [ebp - 0x18]
call fcn.0045319f
pop ecx
mov eax, dword [esi + 0x380]
lea ebx, [esi + 0x380]
lea ecx, [ebp - 0x14]
push 4
push ecx
push eax
call fcn.0045aed0
mov ebx, dword [ebx]
add esp, 0xc
add ebx, 4
mov ecx, edi
push dword [ebp - 0x14]
push ebx
call fcn.0043b74e
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 + 0x374], 0
mov dword [esi + 0x328], eax
mov eax, dword [esi + 0x324]
mov dword [esi + 0x32c], eax
jne 0x438a0e
push str.PUBLICKEY
push 0xd0
push dword [0x498f84]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push dword [0x498f84]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov dword [esi + 0x378], eax
push dword [0x498f84]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x374], eax
add esi, 0x38c
push esi
call fcn.00456b82
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0xa0]
jmp 0x43876a
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.0043834f
lea ebx, [esi + 0x2a0]
lea edi, [esi + 0x2dc]
cmp ebx, edi
je 0x438a65
mov ecx, edi
call fcn.00427b82
push ebx
mov ecx, edi
call fcn.00427e02
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 0x438ab5
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 0x438ada
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.00436307
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret