Function at 0x43b550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5851d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp edi, esi
mov ebx, edx
mov dword [esp + 0x20], ebx
jl 0x43b795
push 0x431
mov ecx, ebx
call fcn.00537b72
push esi
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 0x9c]
call fcn.0053d0c2
mov dword [esp + 0x50], esi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov ecx, 0x59dd80
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b5ed
cmp dx, si
je 0x43b5e9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b5ed
add eax, 4
add ecx, 4
cmp dx, si
jne 0x43b5c7
xor eax, eax
jmp 0x43b5f2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x43b63a
push 2
push esi
call fcn.004ec6f0
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x43b62a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov edx, ebx
call fcn.004143b0
mov edi, eax
call fcn.004ecb90
cmp edi, esi
je 0x43b62a
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x43b69e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
push 1
push esi
push ecx
jmp 0x43b767
push 0x595d54
push 0xcf
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x43b62a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 3
push eax
mov dword [esp + 0x20], eax
call fcn.004ec6f0
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x43b62a
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
mov edx, ebx
call fcn.004143b0
cmp eax, esi
je 0x43b697
mov esi, dword [esp + 0x14]
call fcn.004ecb90
jmp 0x43b626
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x8c]
add ebx, 0x88
xor edi, edi
cmp eax, edi
je 0x43b6c8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov edi, dword [esp + 0x18]
push esi
push ebx
call fcn.004ef390
test eax, eax
je 0x43b75b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00537071
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, edi
mov ecx, ebx
call fcn.004ef780
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x44], eax
push edi
lea eax, [esp + 0x3c]
mov ecx, ebx
mov dword [esp + 0x44], edx
call fcn.004ef430
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
push edx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call fcn.005308f6
add esp, 4
jmp 0x43b76d
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b795
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret