Function at 0x4de510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x580a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], esi
test eax, eax
jne 0x4de754
cmp edi, 0x60
jge 0x4de754
mov eax, dword [0x5e8e38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], 0
call fcn.00569c56
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x13c]
test ecx, ecx
je 0x4de741
call fcn.00569c56
mov eax, dword [eax + 4]
lea ecx, [edi + 1]
push ecx
mov edx, dword [eax + 0x13c]
lea eax, [esp + 0x44]
add edx, 0x5158
push edx
push str._s_feiqCustomFace_d.gif
push eax
call fcn.00554dd4
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0043cbb0
add esp, 0x14
test al, al
jne 0x4de703
mov edx, dword [0x5e8e38]
mov dword [esp + 0x38], edx
mov ebx, 1
mov byte [esp + 0x30], bl
call fcn.00569c56
mov eax, dword [eax + 4]
lea ecx, [esp + 0x38]
mov eax, dword [eax + 0x13c]
add eax, 0x5158
push eax
push str._s_feiqCustomFace
push ecx
call fcn.00554dd4
add esp, 0xc
lea edx, [esp + 0x38]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.005593a1
call fcn.0043f6a0
add esp, 8
call fcn.00569c56
mov eax, dword [eax + 4]
lea ecx, [edi + 0x1c3]
and ecx, 0xffff
push 0x5dadcc
mov edx, dword [eax + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4de69b
call fcn.00569c56
mov eax, dword [eax + 4]
push esi
mov eax, dword [eax + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
call fcn.00569c56
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4de69b
lea ecx, [esp + 0x18]
call fcn.0055d79b
mov edx, dword [esp + 0x40]
push 0
push 0x9002
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call fcn.0055d8ad
test eax, eax
je 0x4de68e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4de6bf
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0055d7f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.0055962c
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
jmp 0x4de78e
mov eax, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x20]
call dword [eax + 0x28]
mov edx, dword [esp + 0x18]
push ebp
push esi
lea ecx, [esp + 0x20]
call dword [edx + 0x38]
lea ecx, [esp + 0x18]
call fcn.0055dac8
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0055d7f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.0055962c
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
test eax, eax
lea eax, [edi + 0xf000]
je 0x4de715
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4de728
push edi
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
jmp 0x4de735
push eax
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.005593a1
mov ecx, esi
call fcn.004e0b70
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
jmp 0x4de78e
call fcn.00569c56
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
add ecx, 0xc0
test edx, edx
lea eax, [ecx + 0x24]
jne 0x4de770
push edi
jmp 0x4de771
push edx
push 0xffffff
push edi
push eax
call fcn.004f54a0
push eax
mov ecx, esi
call fcn.00557223
push eax
call fcn.00467c10
add esp, 0xc
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x10