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

Disassembly:
push 0xffffffffffffffff
push 0x6e8480
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
lea ecx, [esp + 0x4c]
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
push ecx
mov eax, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebp
call dword [eax + 0x58]
mov dword [esp + 0x78], 0
call fcn.00505800
mov edi, eax
test edi, edi
je 0x4b609f
mov ecx, dword [edi + 0x94]
call ecx
test eax, eax
je 0x4b609f
mov eax, dword [edi + 0x90]
call eax
test eax, eax
jne 0x4b63b0
mov ecx, ebp
call fcn.0048fe70
test al, al
jne 0x4b63b0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp dword [esp + 0x60], 8
lea ecx, [esp + 0x3c]
push 0x400
push ecx
push dword [esp + 0x64]
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp + 0xe0]
mov eax, ecx
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x40]
shr eax, 9
test al, 1
je 0x4b60fb
mov eax, dword [esi + 0xc]
sub eax, edi
jmp 0x4b6125
shr ecx, 7
test cl, 1
jne 0x4b6122
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cdq
sub eax, edx
mov ebx, eax
mov eax, edi
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
sub ebx, eax
add ebx, dword [esi + 4]
mov dword [esp + 0x14], ebx
jmp 0x4b6129
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
and eax, 0x100000
neg eax
push 0
sbb eax, eax
and eax, 0x201
add eax, 0x21
mov dword [esp + 0x28], eax
lea eax, [esp + 0x50]
push 0xa
push eax
lea eax, [esp + 0x38]
push eax
call fcn.005d9b90
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov eax, edi
xor edx, edx
mov byte [esp + 0x78], 1
div ecx
xor edi, edi
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4b639d
xor ebp, ebp
lea ebx, [ebx]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp dword [0x82e960], 0
je 0x4b61cc
cmp edi, dword [esp + 0x30]
jb 0x4b61cc
push str.wxArrayString:_index_out_of_bounds
push str.nIndex___m_nCount
push str.wxArrayString::Item
push 0xb2
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_arrstr.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x4b61cc
mov byte [0x87c8e0], 0
int3
cmp dword [0x82e960], 0
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + ebp + 0x10]
je 0x4b6215
cmp edi, dword [esp + 0x30]
jb 0x4b6215
push str.wxArrayString:_index_out_of_bounds
push str.nIndex___m_nCount
push str.wxArrayString::Item
push 0xb2
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_arrstr.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x4b6215
mov byte [0x87c8e0], 0
int3
mov eax, dword [esp + 0x34]
add eax, ebp
cmp dword [eax + 0x14], 8
jb 0x4b6223
mov eax, dword [eax]
push 0x400
lea ecx, [esp + 0x40]
push ecx
push ebx
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
sub ebx, dword [esp + 0x3c]
mov ecx, dword [eax + 0xe0]
mov eax, ecx
shr eax, 6
test al, 1
jne 0x4b625d
mov eax, ecx
shr eax, 8
test al, 1
je 0x4b6264
cmp dword [esp + 0x30], 1
jbe 0x4b628e
mov eax, dword [esp + 0x1c]
mov esi, dword [esi]
mov eax, dword [eax + 8]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add ecx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
lea eax, [ecx + ebx]
jmp 0x4b62ad
shr ecx, 8
test cl, 1
je 0x4b62a5
mov eax, dword [esi + 8]
mov dword [esp + 0x44], eax
sub eax, ebx
mov dword [esp + 0x3c], eax
jmp 0x4b62b1
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
add eax, ebx
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push ebx
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [0x82e960], 0
je 0x4b6304
cmp edi, dword [esp + 0x30]
jb 0x4b6304
push str.wxArrayString:_index_out_of_bounds
push str.nIndex___m_nCount
push str.wxArrayString::Item
push 0xb2
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_arrstr.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x4b6304
mov byte [0x87c8e0], 0
int3
cmp dword [0x82e960], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + ebp + 0x10]
mov dword [esp + 0x14], ecx
je 0x4b6355
cmp edi, dword [esp + 0x30]
jb 0x4b6355
push str.wxArrayString:_index_out_of_bounds
push str.nIndex___m_nCount
push str.wxArrayString::Item
push 0xb2
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_arrstr.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x4b6351
mov byte [0x87c8e0], 0
int3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add eax, ebp
cmp dword [eax + 0x14], 8
jb 0x4b6363
mov eax, dword [eax]
push dword [esp + 0x24]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push ecx
push eax
push 0
push 0
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_DrawStateW]
add ebx, dword [esp + 0x18]
inc edi
add ebp, 0x20
mov dword [esp + 0x14], ebx
cmp edi, dword [esp + 0x30]
jb 0x4b6180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0
call fcn.005d8cf0
jmp 0x4b64fa
push 1
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xa
push eax
lea ecx, [esp + 0x58]
call fcn.0041d850
cmp eax, dword [0x77db98]
je 0x4b649b
mov eax, dword [esp + 0x8c]
or eax, 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push esi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x60], 8
lea ecx, [esp + 0x2c]
mov ebp, dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push 0x401
push ecx
push dword [esp + 0x64]
push eax
push ebx
call ebp
mov eax, dword [esp + 0x1c]
mov esi, dword [esi]
mov edi, dword [esp + 0x34]
sub edi, dword [esp + 0x2c]
mov eax, dword [eax + 8]
sub eax, esi
mov ebx, dword [esp + 0x38]
cdq
sub eax, edx
sub ebx, dword [esp + 0x30]
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add ecx, esi
push dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea eax, [ecx + edi]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add ecx, esi
cmp dword [esp + 0x64], 8
mov dword [esp + 0x34], ecx
lea eax, [ecx + ebx]
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], eax
push ecx
push dword [esp + 0x64]
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
push dword [esp + 0x30]
call ebp
jmp 0x4b64fa
mov edx, dword [ebp + 0xe0]
mov eax, edx
mov ecx, dword [esp + 0x8c]
shr eax, 8
test al, 1
je 0x4b64b6
or ecx, 2
jmp 0x4b64c2
mov eax, edx
shr eax, 6
test al, 1
jne 0x4b64c2
or ecx, 1
mov eax, edx
shr eax, 9
test al, 1
je 0x4b64d0
or ecx, 8
jmp 0x4b64db
shr edx, 7
test dl, 1
jne 0x4b64db
or ecx, 4
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
or ecx, 0x20
push ecx
push esi
push dword [esp + 0x64]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x64]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x4b651a
push dword [esp + 0x4c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x68
ret