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

Disassembly:
push 0xffffffffffffffff
push 0x6f5aaf
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c0]
mov ebp, dword [esp + 0x1bc]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], 0
test edi, edi
je 0x53733e
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.wxImage.0
push 0x64
mov dword [esp + 0x1b8], 1
call fcn.005f08d0
mov ebx, dword [sym.imp.MSVCR120.dll_calloc]
push 4
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call ebx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
mov dword [esp + 0x104], eax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], eax
mov word [esp + 0xcc], ax
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x80]
mov byte [esp + 0x1c0], 4
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa8]
push eax
push 0x74a910
push dword [edi]
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0x24
cmp eax, 4
jne 0x537000
mov ecx, dword [esp + 0x90]
mov eax, ecx
mov edx, dword [esp + 0x8c]
imul eax, edx
imul eax, dword [esp + 0x30]
test eax, eax
je 0x537000
cmp dword [esp + 0x74], 0x40
jae 0x536fa2
push 0
push edx
push ecx
lea ecx, [esp + 0x20]
call fcn.004bd4b0
test al, al
jne 0x535d52
push 0x82d820
mov ecx, ebp
call fcn.00485070
lea ecx, [esp + 0xc0]
mov dword [esp + 0x34], 1
call fcn.00418210
lea ecx, [esp + 0xe0]
call fcn.00418210
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 1
call fcn.005354f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], 0
mov dword [esp + 0x14], vtable.wxObject.0
call fcn.005bde00
jmp 0x537396
mov esi, dword [esp + 0x74]
cmp esi, 0x40
jae 0x536f9d
xor ecx, ecx
mov byte [esp + esi + 0x168], 0
mov word [esp + 0x39], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x30], ecx
jbe 0x535e92
add edi, 4
mov dword [esp + 0x4c], edi
lea ebx, [ebx]
mov ebx, dword [edi]
test ebx, ebx
je 0x536540
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x535da0
sub ecx, edx
lea eax, [esi + 5]
cmp ecx, eax
jb 0x536540
xor edx, edx
test esi, esi
je 0x535ddc
mov edi, ebx
lea eax, [esp + 0x168]
sub edi, eax
lea ecx, [esp + 0x168]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, esi
jb 0x535dc5
mov edi, dword [esp + 0x4c]
lea eax, [ebx + esi]
push eax
call fcn.00535ab0
add esp, 4
test eax, eax
je 0x536435
lea ecx, [esp + 0x3a]
mov byte [esp + 0x1f], 0
push ecx
lea ecx, [esp + 0x3d]
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x2b]
push ecx
push eax
call fcn.005358a0
add esp, 0x14
test al, al
je 0x536236
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0xc4]
call fcn.00429230
cmp byte [esp + 0x1f], 0
je 0x535e4d
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xec]
call fcn.00419170
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x24]
call fcn.00535520
mov cx, word [esp + 0x38]
add edi, 4
mov dword [esp + 0x4c], edi
mov word [eax], cx
mov cl, byte [esp + 0x3a]
mov byte [eax + 2], cl
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x30]
jae 0x535e8c
mov esi, dword [esp + 0x74]
jmp 0x535d90
mov ebx, dword [sym.imp.MSVCR120.dll_calloc]
cmp dword [esp + 0xf0], 0
je 0x536769
push 0x64
call fcn.005f08d0
push 4
push eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
call ebx
add esp, 0xc
mov dword [esp + 0x78], eax
lea eax, [esp + 0x94]
mov byte [esp + 0x1b4], 0x19
push eax
lea ecx, [esp + 0x24]
call fcn.00575e70
mov edi, dword [esp + 0x28]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
test edi, edi
je 0x535f33
movzx eax, byte [esi + 0x24]
movzx ecx, byte [esi + 0x25]
shl eax, 8
add ecx, eax
movzx eax, byte [esi + 0x26]
shl ecx, 8
add ecx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x78]
push eax
call fcn.004f07b0
mov esi, dword [esi]
test esi, esi
jne 0x535f2c
lea ecx, [esp + 0x3c]
call fcn.005357d0
mov esi, eax
mov dword [esp + 0x3c], esi
dec edi
jne 0x535ef3
mov ecx, dword [esp + 0x7c]
xor ebx, ebx
mov esi, dword [esp + 0x78]
lea ecx, [ecx]
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [esi + edx*4]
test eax, eax
je 0x535f5f
lea ecx, [ecx]
cmp dword [eax + 4], ebx
je 0x5366f0
mov eax, dword [eax]
test eax, eax
jne 0x535f50
cmp ebx, 0xffffff
jle 0x536702
jmp 0x535f70
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
mov esi, dword [sym.imp.MSVCR120.dll_free]
add esp, 0x24
test al, al
je 0x5361cf
push str.XPM:_no_colors_left_to_use_for_mask_
lea ecx, [esp + 0x14c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x1b4], 0x1b
call fcn.005eae80
test eax, eax
je 0x535ffd
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.005ecae0
mov edi, eax
test edi, edi
jne 0x53600f
lea eax, [esp + 0x148]
push eax
call fcn.005ed1e0
add esp, 4
mov edi, eax
call fcn.005c92f0
mov dword [esp + 0x54], eax
mov byte [esp + 0x1b4], 0x1c
call fcn.005c92f0
mov dword [esp + 0x58], eax
mov byte [esp + 0x1b4], 0x1d
call fcn.005c92f0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0
push 0
mov byte [esp + 0x1b8], 0x1e
mov dword [esp + 0x104], 1
mov dword [esp + 0x10c], str....._srccommonxpmdecod.cpp
mov dword [esp + 0x114], str.wxXPMDecoder::ReadData
mov dword [esp + 0x110], 0x2f3
mov dword [esp + 0x118], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x120], eax
xor eax, eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x13c], 7
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
mov dword [esp + 0x140], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b4], 0x1f
call fcn.005e6500
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00439e70
push dword [esp + 0x148]
mov byte [esp + 0x1c0], 0x1e
call esi
add esp, 0xc
cmp dword [esp + 0x13c], 8
jb 0x536128
push dword [esp + 0x128]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x13c], 7
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
call fcn.00439c40
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b4], 0x1b
call fcn.00420020
push dword [esp + 0xb8]
call esi
add esp, 4
cmp dword [esp + 0xb4], 8
jb 0x53618a
push dword [esp + 0xa0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x160]
xor eax, eax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
call esi
add esp, 4
cmp dword [esp + 0x15c], 8
jb 0x5361cf
push dword [esp + 0x148]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp], vtable.wxObject.0
mov eax, dword [0x82d824]
mov dword [ebp + 4], eax
test eax, eax
je 0x5361e5
inc dword [eax + 4]
push 0x495690
push dword [esp + 0x7c]
mov dword [ebp], vtable.wxImage.0
push dword [esp + 0x84]
mov dword [esp + 0x40], 1
mov byte [esp + 0x1c0], 4
call fcn.005f0870
push dword [esp + 0x84]
mov dword [esp + 0x90], 0
call esi
push dword [esp + 0xe8]
call esi
add esp, 0x14
jmp 0x536372
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x53633b
push str.XPM:_malformed_colour_definition__s_at_line__d_
lea ecx, [esp + 0x14c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xa0]
mov byte [esp + 0x1b4], 0x16
push eax
lea eax, [esp + 0x14c]
push eax
call fcn.00420160
add esp, 8
lea ecx, [esp + 0x54]
push eax
call fcn.0041fd90
push 0x721844
push str.wxXPMDecoder::ReadData
push 0x2d5
push str....._srccommonxpmdecod.cpp
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x1c8], 0x17
call fcn.00439de0
mov ecx, dword [esp + 0x3c]
inc ecx
mov byte [esp + 0x1b4], 0x18
push ecx
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.005353e0
lea ecx, [esp + 0x100]
mov byte [esp + 0x1b4], 0x17
call fcn.0043f270
mov byte [esp + 0x1b4], 0x16
lea ecx, [esp + 0x54]
call fcn.00420020
lea ecx, [esp + 0xa0]
call fcn.00418210
lea ecx, [esp + 0x148]
call fcn.00418210
mov dword [ebp], vtable.wxObject.0
mov eax, dword [0x82d824]
mov dword [ebp + 4], eax
test eax, eax
je 0x536351
inc dword [eax + 4]
mov esi, dword [sym.imp.MSVCR120.dll_free]
push dword [esp + 0xd8]
mov dword [esp + 0x38], 1
mov dword [ebp], vtable.wxImage.0
call esi
add esp, 4
cmp dword [esp + 0xd4], 8
jb 0x53638b
push dword [esp + 0xc0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xf8]
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], eax
mov word [esp + 0xc4], ax
call esi
add esp, 4
cmp dword [esp + 0xf4], 8
jb 0x5363cc
push dword [esp + 0xe0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x602150
push dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xfc], 7
push dword [esp + 0x2c]
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
mov byte [esp + 0x1c0], 1
call fcn.005f0870
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
call esi
add esp, 0x10
mov byte [esp + 0x1b4], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.wxObject.0
call fcn.005bde00
jmp 0x537396
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x53633b
push str.XPM:_malformed_colour_definition__s_at_line__d_
lea ecx, [esp + 0x14c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x1b4], 0x12
call fcn.005eae80
test eax, eax
je 0x5364ba
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.005ecae0
test eax, eax
jne 0x5364ca
lea eax, [esp + 0x148]
push eax
call fcn.005ed1e0
add esp, 4
push eax
lea ecx, [esp + 0x58]
call fcn.0041fd90
push 0x721844
push str.wxXPMDecoder::ReadData
push 0x2cc
push str....._srccommonxpmdecod.cpp
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x1c8], 0x13
call fcn.00439de0
mov ecx, dword [esp + 0x3c]
inc ecx
mov byte [esp + 0x1b4], 0x14
push ecx
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.005353e0
lea ecx, [esp + 0x100]
mov byte [esp + 0x1b4], 0x13
call fcn.0043f270
mov byte [esp + 0x1b4], 0x12
jmp 0x53631a
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
mov esi, dword [sym.imp.MSVCR120.dll_free]
add esp, 0x24
test al, al
je 0x5366d1
push str.XPM:_incorrect_colour_description_in_line__d
lea ecx, [esp + 0xa4]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x1b4], 0xc
call fcn.005eae80
test eax, eax
je 0x5365be
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
call fcn.005ecae0
mov edi, eax
test edi, edi
jne 0x5365d0
lea eax, [esp + 0xa0]
push eax
call fcn.005ed1e0
add esp, 4
mov edi, eax
call fcn.005c92f0
mov dword [esp + 0x78], eax
mov byte [esp + 0x1b4], 0xd
call fcn.005c92f0
mov dword [esp + 0x7c], eax
mov byte [esp + 0x1b4], 0xe
call fcn.005c92f0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
push 0x721844
push str.wxXPMDecoder::ReadData
push 0x2c1
push str....._srccommonxpmdecod.cpp
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x1c8], 0xf
call fcn.00439de0
mov ecx, dword [esp + 0x3c]
inc ecx
mov byte [esp + 0x1b4], 0x10
push ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.0051f390
lea ecx, [esp + 0x100]
mov byte [esp + 0x1b4], 0xf
call fcn.0043f270
lea ecx, [esp + 0x78]
mov byte [esp + 0x1b4], 0xc
call fcn.00420020
push dword [esp + 0x6c]
call esi
add esp, 4
cmp dword [esp + 0x68], 8
jb 0x536695
push dword [esp + 0x54]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xb8]
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
call esi
add esp, 4
cmp dword [esp + 0xb4], 8
jb 0x5366d1
push dword [esp + 0xa0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp], vtable.wxObject.0
mov eax, dword [0x82d824]
mov dword [ebp + 4], eax
test eax, eax
je 0x536357
inc dword [eax + 4]
jmp 0x536357
inc ebx
cmp ebx, 0xffffff
jle 0x535f40
jmp 0x535f70
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x24]
call fcn.00535520
mov ecx, ebx
mov edx, ebx
sar ecx, 8
push ebx
sar edx, 0x10
push ecx
mov byte [eax + 1], cl
lea ecx, [esp + 0x1c]
push edx
mov byte [eax], dl
mov byte [eax + 2], bl
call fcn.004c49d0
push 0x495690
push dword [esp + 0x7c]
mov byte [esp + 0x1bc], 4
push dword [esp + 0x84]
call fcn.005f0870
push dword [esp + 0x84]
mov dword [esp + 0x90], 0
call dword [sym.imp.MSVCR120.dll_free]
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.004be4e0
mov ebx, eax
xor ecx, ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x536863
mov esi, dword [esp + 0x90]
xor ebp, ebp
test esi, esi
je 0x536852
lea ebx, [ebx]
mov eax, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x44]
mov edi, dword [ecx + eax*4 + 4]
test edi, edi
je 0x536c30
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x5367c0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5367c0
sub ecx, edx
mov edx, dword [esp + 0x74]
imul esi, edx
cmp ecx, esi
jb 0x536c30
xor eax, eax
test edx, edx
je 0x5367f4
mov esi, ebp
imul esi, edx
add esi, edi
mov cl, byte [esi + eax]
mov byte [esp + eax + 0x168], cl
inc eax
cmp eax, edx
jb 0x5367e5
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0xc4]
call fcn.00429230
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x24]
call fcn.00557440
test eax, eax
je 0x536ab0
movzx ecx, byte [eax + 0x24]
inc ebp
mov byte [ebx], cl
movzx ecx, byte [eax + 0x25]
mov byte [ebx + 1], cl
mov al, byte [eax + 0x26]
mov ecx, dword [esp + 0x3c]
mov byte [ebx + 2], al
add ebx, 3
mov esi, dword [esp + 0x90]
cmp ebp, esi
jb 0x5367a0
mov eax, dword [esp + 0x8c]
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jb 0x536790
mov ebp, dword [esp + 0x50]
push dword [esp + 0x30]
call fcn.006cff38
push dword [esp + 0x34]
mov dword [esp + 0x44], eax
call fcn.006cff38
push dword [esp + 0x38]
mov ebx, eax
mov dword [esp + 0x58], ebx
call fcn.006cff38
mov esi, dword [esp + 0x30]
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x50], eax
test esi, esi
je 0x5368af
mov edx, dword [esp + 0x20]
lea ecx, [ecx]
cmp dword [edx + ecx*4], 0
jne 0x536f95
inc ecx
cmp ecx, esi
jb 0x5368a0
xor ecx, ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x94], ecx
xor edi, edi
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x53691a
mov edx, dword [esp + 0x50]
mov esi, ebx
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x4c]
sub edx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
nop
mov al, byte [ecx + 0x24]
mov byte [ebx + esi], al
mov al, byte [ecx + 0x25]
mov byte [esi], al
mov al, byte [ecx + 0x26]
mov byte [edx + esi], al
mov ecx, dword [ecx]
test ecx, ecx
jne 0x536909
lea ecx, [esp + 0x94]
call fcn.005357d0
mov edx, dword [esp + 0x44]
mov ecx, eax
inc edi
mov dword [esp + 0x94], ecx
inc esi
test ecx, ecx
jne 0x5368e0
mov ebx, dword [esp + 0x4c]
cmp dword [0x82e960], 0
je 0x536958
cmp edi, dword [esp + 0x30]
je 0x536958
push 0
push str.i__colors_cnt
push str.wxXPMDecoder::ReadData
push 0x335
push str....._srccommonxpmdecod.cpp
call fcn.005c6f20
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x536958
mov byte [0x87c8e0], 0
int3
mov dword [esp + 0x48], 0
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x44]
mov esi, dword [esp + 0x3c]
push edi
push ebx
push esi
push dword [esp + 0x3c]
mov byte [esp + 0x1c4], 0x2c
mov dword [esp + 0x54], vtable.wxPalette.0
call fcn.004e9df0
lea eax, [esp + 0x44]
mov byte [esp + 0x1b4], 0x2d
push eax
lea ecx, [esp + 0x18]
call fcn.004c52f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b4], 4
mov dword [esp + 0x44], vtable.wxObject.0
call fcn.005bde00
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
push ebx
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [ebp], vtable.wxObject.0
mov dword [ebp + 4], eax
test eax, eax
je 0x5369e1
inc dword [eax + 4]
push dword [esp + 0xd8]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov dword [ebp], vtable.wxImage.0
mov dword [esp + 0x38], 1
call ebx
add esp, 4
cmp dword [esp + 0xd4], 8
jb 0x536a1b
push dword [esp + 0xc0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xf8]
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call ebx
add esp, 4
cmp dword [esp + 0xf4], 8
jb 0x536a60
push dword [esp + 0xe0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x602150
push dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xfc], 7
push dword [esp + 0x2c]
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
mov byte [esp + 0x1c0], 1
call fcn.005f0870
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
call ebx
jmp 0x536414
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x536e97
push str.XPM:_Malformed_pixel_data_
lea ecx, [esp + 0x14c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x1b4], 0x27
call fcn.005eae80
test eax, eax
je 0x536b37
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x536b49
lea eax, [esp + 0x148]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x54], eax
mov byte [esp + 0x1b4], 0x28
call fcn.005c92f0
mov dword [esp + 0x58], eax
mov byte [esp + 0x1b4], 0x29
call fcn.005c92f0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
push 0x721844
push str.wxXPMDecoder::ReadData
push 0x31c
push str....._srccommonxpmdecod.cpp
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x1c8], 0x2a
call fcn.00439de0
mov esi, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b4], 0x2b
call fcn.005e6500
push eax
push esi
call fcn.00439e70
push dword [esp + 0x148]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x1c0], 0x2a
call ebx
add esp, 0xc
cmp dword [esp + 0x13c], 8
jb 0x536bf7
push dword [esp + 0x128]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x13c], 7
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
call fcn.00439c40
mov byte [esp + 0x1b4], 0x27
jmp 0x536e22
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x536e97
push str.XPM:_truncated_image_data_at_line__d_
lea ecx, [esp + 0x14c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x1b4], 0x21
call fcn.005eae80
test eax, eax
je 0x536cb7
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x536cc9
lea eax, [esp + 0x148]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x54], eax
mov byte [esp + 0x1b4], 0x22
call fcn.005c92f0
mov dword [esp + 0x58], eax
mov byte [esp + 0x1b4], 0x23
call fcn.005c92f0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
push 0
mov byte [esp + 0x1b8], 0x24
mov dword [esp + 0x104], 1
mov dword [esp + 0x10c], str....._srccommonxpmdecod.cpp
mov dword [esp + 0x114], str.wxXPMDecoder::ReadData
mov dword [esp + 0x110], 0x30e
mov dword [esp + 0x118], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x120], eax
xor eax, eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x13c], 7
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
mov dword [esp + 0x140], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
inc ecx
add eax, ecx
mov byte [esp + 0x1b4], 0x25
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x108]
call fcn.0051f390
push dword [esp + 0x140]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x1b8], 0x24
call ebx
add esp, 4
cmp dword [esp + 0x13c], 8
jb 0x536dee
push dword [esp + 0x128]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x13c], 7
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
call fcn.00439c40
mov byte [esp + 0x1b4], 0x21
lea ecx, [esp + 0x54]
call fcn.00420020
push dword [esp + 0xb8]
call ebx
add esp, 4
cmp dword [esp + 0xb4], 8
jb 0x536e50
push dword [esp + 0xa0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x160]
xor eax, eax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
call ebx
add esp, 4
cmp dword [esp + 0x15c], 8
jb 0x536e9d
push dword [esp + 0x148]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x536e9d
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov esi, dword [esp + 0x50]
mov dword [esi], vtable.wxObject.0
mov eax, dword [0x82d824]
mov dword [esi + 4], eax
test eax, eax
je 0x536eb6
inc dword [eax + 4]
push dword [esp + 0xd8]
mov dword [esp + 0x38], 1
mov dword [esi], vtable.wxImage.0
call ebx
add esp, 4
cmp dword [esp + 0xd4], 8
jb 0x536ee9
push dword [esp + 0xc0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xf8]
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], eax
mov word [esp + 0xc4], ax
call ebx
add esp, 4
cmp dword [esp + 0xf4], 8
jb 0x536f2a
push dword [esp + 0xe0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x602150
push dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xfc], 7
push dword [esp + 0x2c]
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
mov byte [esp + 0x1c0], 1
call fcn.005f0870
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
call ebx
add esp, 0x10
mov byte [esp + 0x1b4], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.wxObject.0
call fcn.005bde00
mov eax, esi
jmp 0x537398
mov ecx, dword [edx + ecx*4]
jmp 0x5368b1
call fcn.006d1f30
cmp dword [0x82e960], 0
je 0x536fdd
push str.XPM_colormaps_this_large_not_supported.
push str.chars_per_pixel___64
push str.wxXPMDecoder::ReadData
push 0x2af
push str....._srccommonxpmdecod.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x536fdd
mov byte [0x87c8e0], 0
int3
mov dword [ebp], vtable.wxObject.0
mov eax, dword [0x82d824]
mov dword [ebp + 4], eax
test eax, eax
je 0x536ff3
inc dword [eax + 4]
mov dword [ebp], vtable.wxImage.0
jmp 0x535d03
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
mov esi, dword [sym.imp.MSVCR120.dll_free]
add esp, 0x24
test al, al
je 0x53725f
push str.XPM:_incorrect_header_format_
lea ecx, [esp + 0x14c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x1b4], 6
call fcn.005eae80
test eax, eax
je 0x53708d
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.005ecae0
mov edi, eax
test edi, edi
jne 0x53709f
lea eax, [esp + 0x148]
push eax
call fcn.005ed1e0
add esp, 4
mov edi, eax
call fcn.005c92f0
mov dword [esp + 0x54], eax
mov byte [esp + 0x1b4], 7
call fcn.005c92f0
mov dword [esp + 0x58], eax
mov byte [esp + 0x1b4], 8
call fcn.005c92f0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0
push 0
mov byte [esp + 0x1b8], 9
mov dword [esp + 0x104], 1
mov dword [esp + 0x10c], str....._srccommonxpmdecod.cpp
mov dword [esp + 0x114], str.wxXPMDecoder::ReadData
mov dword [esp + 0x110], 0x2a8
mov dword [esp + 0x118], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x120], eax
xor eax, eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x13c], 7
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
mov dword [esp + 0x140], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b4], 0xa
call fcn.005e6500
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00439e70
push dword [esp + 0x148]
mov byte [esp + 0x1c0], 9
call esi
add esp, 0xc
cmp dword [esp + 0x13c], 8
jb 0x5371b8
push dword [esp + 0x128]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x13c], 7
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
call fcn.00439c40
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b4], 6
call fcn.00420020
push dword [esp + 0xb8]
call esi
add esp, 4
cmp dword [esp + 0xb4], 8
jb 0x53721a
push dword [esp + 0xa0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x160]
xor eax, eax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
call esi
add esp, 4
cmp dword [esp + 0x15c], 8
jb 0x53725f
push dword [esp + 0x148]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp], vtable.wxObject.0
mov eax, dword [0x82d824]
mov dword [ebp + 4], eax
test eax, eax
je 0x537275
inc dword [eax + 4]
push dword [esp + 0xd8]
mov dword [ebp], vtable.wxImage.0
mov dword [esp + 0x38], 1
call esi
add esp, 4
cmp dword [esp + 0xd4], 8
jb 0x5372a9
push dword [esp + 0xc0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xf8]
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call esi
add esp, 4
cmp dword [esp + 0xf4], 8
jb 0x5372ee
push dword [esp + 0xe0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x602150
push dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xfc], 7
push dword [esp + 0x2c]
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
mov byte [esp + 0x1c0], 1
call fcn.005f0870
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
call esi
add esp, 0x10
jmp 0x535d34
cmp dword [0x82e960], 0
je 0x537379
push str.NULL_XPM_data
push str.xpm_data
push str.wxXPMDecoder::ReadData
push 0x293
push str....._srccommonxpmdecod.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x537379
mov byte [0x87c8e0], 0
int3
mov dword [ebp], vtable.wxObject.0
mov eax, dword [0x82d824]
mov dword [ebp + 4], eax
test eax, eax
je 0x53738f
inc dword [eax + 4]
mov dword [ebp], vtable.wxImage.0
mov eax, ebp
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x1a4
ret 8