Function at 0x4ee420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ac76
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x420], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x424], edx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4ee546
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdq
mov esi, eax
shld edx, esi, 1
add esi, esi
mov eax, esi
add eax, 0x80000000
adc edx, ebx
mov dword [ebp - 0x434], edx
jne 0x4ee53e
cmp eax, 0xffffffff
ja 0x4ee53e
cmp esi, 0x400
jg 0x4ee4e5
push esi
call fcn.00401b40
add esp, 4
test al, al
je 0x4ee4e5
mov eax, esi
call fcn.004fedd0
mov dword [ebp - 0x10], esp
mov ebx, esp
jmp 0x4ee50c
or eax, 0xffffffff
sub eax, esi
cmp eax, 8
jb 0x4ee534
lea eax, [esi + 8]
push eax
call fcn.004fe920
add esp, 4
cmp eax, ebx
je 0x4ee53e
mov dword [eax], ebx
mov edi, eax
mov dword [ebp - 0x41c], edi
lea ebx, [eax + 8]
test ebx, ebx
je 0x4ee53e
mov byte [ebx], 0
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x428]
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x4ee540
push 0x80070216
call fcn.00401390
xor eax, eax
xor ebx, ebx
cmp eax, ebx
jne 0x4ee58f
mov byte [ebp - 4], 0
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x4ee563
lea ecx, [ebp - 0x418]
call fcn.004e20c0
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4ee585
mov edi, edi
push edi
mov edi, dword [edi]
mov dword [ebp - 0x41c], edi
call fcn.004fe9b4
add esp, 4
cmp edi, ebx
jne 0x4ee570
mov eax, 0x8007000e
jmp 0x4ee6d7
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x4ee5b1
call fcn.004e13a0
mov esi, eax
jmp 0x4ee694
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4ee5d6
call fcn.004e13a0
jmp 0x4ee68b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
jne 0x4ee5f2
call fcn.004e13a0
jmp 0x4ee68b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4ee610
mov esi, 0x8007000e
jmp 0x4ee68d
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.004e32c0
mov dword [ebp - 4], 1
jmp 0x4ee648
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4ee659
mov esi, 0x8007000e
jmp 0x4ee68d
push esi
mov edx, dword [ebp - 0x424]
push edx
push esi
push eax
call fcn.004db3e0
add esp, 0x10
mov eax, dword [ebp - 0x418]
mov byte [eax + esi], 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x418]
push edx
lea ecx, [ebp - 0x430]
call fcn.004e51f0
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4ee6b1
lea ecx, [ebp - 0x418]
call fcn.004e20c0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4ee6d5
lea esp, [esp]
push edi
mov edi, dword [edi]
mov dword [ebp - 0x41c], edi
call fcn.004fe9b4
add esp, 4
test edi, edi
jne 0x4ee6c0
mov eax, esi
lea esp, [ebp - 0x448]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 0x10