Function at 0x4d3650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d7aab
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov ebp, dword [esp + 0x60]
mov dword [esi + 4], 1
mov dword [esi], vtable.wxGDIImageRefData.0
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x10], edx
fld qword [ebp + 0x18]
fstp qword [esi + 0x18]
xor ebx, ebx
mov dword [esi], vtable.wxBitmapRefData.0
mov dword [esp + 0x58], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], vtable.wxPalette.0
mov word [esi + 0x34], bx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x30], ebx
mov al, byte [ebp + 0x34]
mov byte [esi + 0x34], al
mov eax, dword [ebp + 0x20]
mov byte [esp + 0x58], 1
cmp eax, ebx
je 0x4d37e9
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x3c], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call fcn.00544610
mov byte [esp + 0x58], 2
lea ecx, [esp + 0x20]
cmp byte [ebp + 0x35], bl
je 0x4d3814
call fcn.00544060
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x20]
call fcn.00544060
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x20]
call fcn.00544060
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push edx
push ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x58], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
call fcn.00543ef0
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 3
call fcn.00544060
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], eax
call fcn.00544060
imul edi, ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
add edi, 0x1f
sar edi, 3
and edi, 0xfffffffc
imul edi, dword [esp + 0x14]
push edi
push ecx
push edx
call fcn.00583e00
add esp, 0xc
push ebx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004d3020
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4d37cb
cmp byte [esp + 0x4c], bl
je 0x4d37cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x58], 1
cmp eax, ebx
je 0x4d37e9
cmp byte [esp + 0x34], bl
je 0x4d37e9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp + 0x38], ebx
je 0x4d38fc
push 0xc
call fcn.00584773
add esp, 4
cmp eax, ebx
je 0x4d38f7
mov edx, dword [ebp + 0x38]
push edx
mov ecx, eax
call fcn.004d1c90
jmp 0x4d38f9
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.004d30a0
lea ecx, [esp + 0x20]
call fcn.00544060
mov edx, dword [esi + 0x10]
cmp edx, dword [esp + 0x30]
je 0x4d37cf
lea ecx, [esp + 0x20]
call fcn.00544060
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x58], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
call fcn.00543ef0
mov byte [esp + 0x58], 4
cmp dword [esp + 0x38], ebx
je 0x4d37cf
lea ecx, [esp + 0x20]
call fcn.00544060
mov eax, dword [esp + 0x30]
mov edi, dword [esi + 8]
imul edi, eax
add edi, 0x1f
sar edi, 3
lea ecx, [esp + 0x20]
mov dword [esi + 0x10], eax
and edi, 0xfffffffc
call fcn.00544060
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], eax
call fcn.00544060
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x60]
imul ecx, edi
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00583e00
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.004d3170
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4d37cf
cmp byte [esp + 0x4c], bl
je 0x4d37cf
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4d37cf
xor eax, eax
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4