Function at 0x4319c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530e93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x586c98]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x431a84
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea edi, [eax + eax + 2]
cmp edi, 0x400
jg 0x431a43
push edi
call fcn.00401550
add esp, 4
test al, al
je 0x431a43
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.004bd0a0
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x431a5d
lea ecx, [edi + 8]
push ecx
call fcn.004bab03
add esp, 4
cmp eax, ebx
je 0x431a84
mov dword [eax], ebx
mov ebx, eax
mov dword [ebp - 0x14], ebx
lea esi, [eax + 8]
test esi, esi
je 0x431a84
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x431a86
xor eax, eax
test eax, eax
jne 0x431acb
mov eax, dword [ebp - 0x424]
lea ecx, [ebp - 0x420]
cmp eax, ecx
je 0x431aa5
lea eax, [ebp - 0x424]
call fcn.004366e0
test ebx, ebx
je 0x431ac1
lea esp, [esp]
mov eax, ebx
mov ebx, dword [ebx]
push eax
call fcn.004bab15
add esp, 4
test ebx, ebx
jne 0x431ab0
mov eax, 0x8007000e
jmp 0x431bfb
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov esi, eax
test esi, esi
mov dword [ebp + 8], esi
jne 0x431aeb
call fcn.004368a0
mov edi, eax
jmp 0x431bc9
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x431b0a
call fcn.004368a0
jmp 0x431bc0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x431b23
call fcn.004368a0
jmp 0x431bc0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, 0x400
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
jbe 0x431b5a
lea ecx, [ebp - 0x424]
push ecx
call fcn.00436790
jmp 0x431b71
lea edx, [ebp - 0x420]
mov dword [ebp - 0x424], edx
jmp 0x431b71
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x424]
test eax, eax
jne 0x431b89
mov edi, 0x8007000e
jmp 0x431bc2
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x424]
mov byte [edx + ecx], 0
mov ecx, dword [ebp - 0x424]
push eax
lea edx, [ebp - 0x20]
call fcn.00432a70
mov esi, dword [ebp + 8]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, dword [ebp - 0x424]
lea ecx, [ebp - 0x420]
cmp eax, ecx
je 0x431be4
lea eax, [ebp - 0x424]
call fcn.004366e0
test ebx, ebx
je 0x431bf9
mov eax, ebx
mov ebx, dword [ebx]
push eax
call fcn.004bab15
add esp, 4
test ebx, ebx
jne 0x431be8
mov eax, edi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14