Function at 0x4bd7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6e8df8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x30]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x20], eax
xor eax, eax
push 8
push str.MaxWidth
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.00419290
mov dword [esp + 0x48], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x9c], 0
push eax
lea eax, [esp + 0x54]
mov ecx, ebx
push eax
call fcn.004be770
cmp dword [eax + 0x14], 8
jb 0x4bd843
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
push dword [esp + 0x6c]
mov edi, dword [sym.imp.MSVCR120.dll_free]
mov ebp, eax
call edi
add esp, 8
cmp dword [esp + 0x64], 8
jb 0x4bd86e
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x48]
mov dword [esp + 0xa0], 0xffffffff
call edi
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x4bd895
push dword [esp + 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 9
xor eax, eax
mov dword [esp + 0x48], 7
push str.MaxHeight
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.00419290
mov dword [esp + 0x48], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x9c], 1
push eax
lea eax, [esp + 0x54]
mov ecx, ebx
push eax
call fcn.004be770
cmp dword [eax + 0x14], 8
jb 0x4bd8e8
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
push dword [esp + 0x6c]
mov ebx, eax
call edi
add esp, 8
cmp dword [esp + 0x64], 8
jb 0x4bd90d
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x48]
mov dword [esp + 0xa0], 0xffffffff
call edi
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x4bd934
push dword [esp + 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x4bd962
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x40]
call eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x20]
push dword [esp + 0xac]
mov edi, dword [esp + 0x18]
push 1
mov eax, dword [ecx]
push esi
push edi
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x4bd9a3
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov edx, dword [esp + 0x18]
and eax, edx
cmp eax, 0xffffffff
je 0x4bd99c
mov eax, dword [esi]
push 0
push edx
push ecx
mov ecx, esi
call dword [eax + 0x3c]
xor al, al
jmp 0x4bdbf9
test ebp, ebp
jne 0x4bd9af
test ebx, ebx
je 0x4bdbe2
mov ecx, edi
call fcn.004bf0f0
mov esi, eax
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.004be5f0
mov dword [esp + 0x24], eax
mov edi, eax
lea esp, [esp]
test ebp, ebp
je 0x4bd9d8
cmp esi, ebp
ja 0x4bd9e0
test ebx, ebx
je 0x4bd9e6
cmp edi, ebx
jbe 0x4bd9e6
shr esi, 1
shr edi, 1
jmp 0x4bd9d0
cmp esi, dword [esp + 0x18]
jne 0x4bd9f4
cmp edi, eax
je 0x4bdbe6
push str.OriginalWidth
lea ecx, [esp + 0x34]
call fcn.00418140
mov ebp, dword [esp + 0x14]
mov ecx, ebp
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0xa0], 2
push eax
call fcn.004be770
cmp dword [eax + 0x14], 8
jb 0x4bda26
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
push dword [esp + 0x6c]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x24], eax
call ebx
add esp, 8
cmp dword [esp + 0x64], 8
jb 0x4bda53
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x48]
mov dword [esp + 0xa0], 0xffffffff
call ebx
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x4bda7a
push dword [esp + 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.OriginalHeight
lea ecx, [esp + 0x34]
call fcn.00418140
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0xa0], 3
push eax
mov ecx, ebp
call fcn.004be770
cmp dword [eax + 0x14], 8
jb 0x4bdaa8
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
push dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
call ebx
add esp, 8
cmp dword [esp + 0x64], 8
jb 0x4bdacf
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x48]
mov dword [esp + 0xa0], 0xffffffff
call ebx
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x4bdaf6
push dword [esp + 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 4
push edi
push esi
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.004c42e0
mov dword [esp + 0x9c], 4
cmp ebp, eax
je 0x4bdb1d
push eax
mov ecx, ebp
call fcn.005bd9c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x28], vtable.wxObject.0
call fcn.005bde00
push str.OriginalWidth
lea ecx, [esp + 0x54]
call fcn.00418140
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov edx, dword [esp + 0x18]
cmovne edx, ecx
mov dword [esp + 0x9c], 5
push edx
push eax
mov ecx, ebp
call fcn.004c51e0
push dword [esp + 0x68]
mov dword [esp + 0xa0], 0xffffffff
call ebx
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x4bdb8f
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.OriginalHeight
lea ecx, [esp + 0x74]
call fcn.00418140
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov edx, dword [esp + 0x24]
cmovne edx, ecx
mov dword [esp + 0x9c], 6
push edx
push eax
mov ecx, ebp
call fcn.004c51e0
push dword [esp + 0x88]
call ebx
add esp, 4
cmp dword [esp + 0x84], 8
jb 0x4bdbea
push dword [esp + 0x70]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x4bdbea
mov ebp, edi
jmp 0x4bdbea
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov eax, dword [eax + 0x78]
mov dword [ecx + 0x10], eax
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x8c
ret 0xc