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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6f5822
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], edi
call fcn.004be5f0
cmp eax, 0x7f
jle 0x533f92
cmp byte [ebp + 0x10], 0
je 0x53516a
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x53516a
push str.ICO:_Image_too_tall_for_an_icon.
lea ecx, [esp + 0xd8]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x1c8], edi
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], edi
mov word [esp + 0xb4], ax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x1c8], 1
call fcn.005eae80
test eax, eax
je 0x533e28
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x533e3a
lea eax, [esp + 0xd4]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c8], 2
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov byte [esp + 0x1c8], 3
call fcn.005c92f0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
push 0
mov byte [esp + 0x1cc], 4
mov dword [esp + 0xf8], 1
mov dword [esp + 0x100], str....._srccommonimagbmp.cpp
mov dword [esp + 0x108], str.wxICOHandler::SaveFile
mov dword [esp + 0x104], 0x4b3
mov dword [esp + 0x10c], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x118], 0
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
mov dword [esp + 0x134], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c8], 5
call fcn.005e6500
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00439e70
push dword [esp + 0x13c]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x1d4], 4
call esi
add esp, 0xc
cmp dword [esp + 0x130], 8
jb 0x533f59
push dword [esp + 0x11c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x130], 7
lea ecx, [esp + 0xfc]
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
call fcn.00439c40
mov byte [esp + 0x1c8], 1
jmp 0x5350fb
mov ecx, ebx
call fcn.004bf0f0
cmp eax, 0xff
jle 0x5341aa
cmp byte [ebp + 0x10], 0
je 0x53516a
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x53516a
push str.ICO:_Image_too_wide_for_an_icon.
lea ecx, [esp + 0xd8]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x1c8], 6
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x1c8], 7
call fcn.005eae80
test eax, eax
je 0x534040
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x534052
lea eax, [esp + 0xd4]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c8], 8
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov byte [esp + 0x1c8], 9
call fcn.005c92f0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
push 0
mov byte [esp + 0x1cc], 0xa
mov dword [esp + 0xf8], 1
mov dword [esp + 0x100], str....._srccommonimagbmp.cpp
mov dword [esp + 0x108], str.wxICOHandler::SaveFile
mov dword [esp + 0x104], 0x4bb
mov dword [esp + 0x10c], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x118], 0
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
mov dword [esp + 0x134], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c8], 0xb
call fcn.005e6500
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00439e70
push dword [esp + 0x13c]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x1d4], 0xa
call esi
add esp, 0xc
cmp dword [esp + 0x130], 8
jb 0x534171
push dword [esp + 0x11c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x130], 7
lea ecx, [esp + 0xfc]
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
call fcn.00439c40
mov byte [esp + 0x1c8], 7
jmp 0x5350fb
mov eax, dword [esp + 0x28]
xor ecx, ecx
push 2
mov dword [esp + 0x44], 6
cmp dword [eax + 0x78], 5
sete cl
xor eax, eax
mov word [esp + 0x48], ax
inc ecx
mov eax, 1
mov dword [esp + 0x68], ecx
mov word [esp + 0x4c], ax
lea eax, [esp + 0x48]
mov word [esp + 0x4a], cx
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534efa
push 2
lea eax, [esp + 0x4a]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534efa
push 2
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534efa
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.wxImage.0
mov ecx, ebx
mov dword [esp + 0x1c8], 0x12
call fcn.004bf150
mov ecx, ebx
test al, al
je 0x534363
call fcn.004be650
movzx eax, al
mov ecx, ebx
push eax
call fcn.004be6b0
movzx eax, al
mov ecx, ebx
push eax
call fcn.004be710
movzx eax, al
mov ecx, ebx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004bcfe0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c8], 0x13
cmp ecx, eax
je 0x53428d
push eax
call fcn.005bd9c0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1c8], 0x12
mov dword [esp + 0x6c], vtable.wxObject.0
call fcn.005bde00
mov ecx, ebx
call fcn.004be710
mov ecx, ebx
mov byte [esp + 0x1f], al
call fcn.004be6b0
mov ecx, ebx
mov byte [esp + 0x1e], al
call fcn.004be650
cmp byte [esp + 0x1f], 0
mov byte [esp + 0x27], al
jne 0x5342dd
cmp byte [esp + 0x1e], 0
jne 0x5342dd
test al, al
je 0x5343f1
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.004bf0f0
test eax, eax
jle 0x5343ed
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.004be5f0
test eax, eax
jle 0x534350
nop
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.004be9e0
cmp byte [esp + 0x1f], al
jne 0x534342
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.004be560
cmp byte [esp + 0x1e], al
jne 0x534342
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.004be420
cmp byte [esp + 0x27], al
jne 0x534342
push 0
push 0
push 0
push esi
push edi
mov ecx, ebx
call fcn.004c5550
lea ecx, [esp + 0x14]
inc esi
call fcn.004be5f0
cmp esi, eax
jl 0x534300
lea ecx, [esp + 0x14]
inc edi
call fcn.004bf0f0
cmp edi, eax
jl 0x5342f0
jmp 0x5343ed
lea eax, [esp + 0x74]
push eax
call fcn.004bd210
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c8], 0x14
cmp ecx, eax
je 0x534383
push eax
call fcn.005bd9c0
lea ecx, [esp + 0x74]
mov byte [esp + 0x1c8], 0x12
mov dword [esp + 0x74], vtable.wxObject.0
call fcn.005bde00
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.004bf0f0
test eax, eax
jle 0x5343ed
jmp 0x5343b0
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.004be5f0
test eax, eax
jle 0x5343df
nop
push 0
push 0
push 0
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.004c5550
lea ecx, [esp + 0x14]
inc esi
call fcn.004be5f0
cmp esi, eax
jl 0x5343c0
lea ecx, [esp + 0x14]
inc edi
call fcn.004bf0f0
cmp edi, eax
jl 0x5343b0
mov edi, dword [esp + 0x10]
push 0xc
xor eax, eax
mov dword [esp + 0xcc], 7
push str.wxBMP_FORMAT
lea ecx, [esp + 0xbc]
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
call fcn.00419290
mov dword [esp + 0xcc], 0
push 8
lea eax, [esp + 0xb8]
mov byte [esp + 0x1cc], 0x15
push eax
mov ecx, ebx
call fcn.004c51e0
push dword [esp + 0xcc]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x1cc], 0x12
call esi
add esp, 4
cmp dword [esp + 0xc8], 8
jb 0x53447b
push dword [esp + 0xb4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
xor eax, eax
mov dword [esp + 0xcc], 7
push str.wxBMP_FORMAT
lea ecx, [esp + 0xbc]
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
call fcn.00419290
mov dword [esp + 0xcc], 0
push 2
lea eax, [esp + 0xb8]
mov byte [esp + 0x1cc], 0x16
push eax
lea ecx, [esp + 0x1c]
call fcn.004c51e0
push dword [esp + 0xcc]
mov byte [esp + 0x1cc], 0x12
call esi
add esp, 4
cmp dword [esp + 0xc8], 8
jb 0x534501
push dword [esp + 0xb4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x7c]
call fcn.0060e3c0
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x28]
push 0
push 0
push esi
push eax
push ebx
mov byte [esp + 0x1dc], 0x17
call fcn.005324d0
test al, al
je 0x534c5f
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x7c]
push 1
push 0
push esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005324d0
test al, al
je 0x534b2d
lea ecx, [esp + 0x7c]
call fcn.0060ef10
add dword [esp + 0x40], 0x10
mov esi, eax
mov ecx, ebx
mov dword [esp + 0x68], esi
call fcn.004bf0f0
mov ecx, ebx
mov byte [esp + 0x13c], al
call fcn.004be5f0
add al, al
mov dword [esp + 0x13e], 0x10000
cmp dword [esp + 0x64], 2
mov byte [esp + 0x13d], al
mov eax, 8
mov word [esp + 0x142], ax
jne 0x534706
push str.HotSpotX
lea ecx, [esp + 0xb8]
call fcn.00418140
lea eax, [esp + 0xb4]
mov byte [esp + 0x1c8], 0x22
push eax
mov ecx, ebx
call fcn.004bf1b0
test al, al
je 0x534605
push str.HotSpotX
lea ecx, [esp + 0xd8]
call fcn.00418140
lea eax, [esp + 0xd4]
mov byte [esp + 0x1c8], 0x23
or edi, 1
mov ecx, ebx
push eax
mov dword [esp + 0x14], edi
call fcn.004be860
mov edi, eax
jmp 0x534613
mov ecx, ebx
call fcn.004bf0f0
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c8], 0x22
test al, 1
je 0x534639
and eax, 0xfffffffe
lea ecx, [esp + 0xd4]
mov dword [esp + 0x10], eax
call fcn.00418210
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1c8], 0x17
call fcn.00418210
push str.HotSpotY
lea ecx, [esp + 0xb8]
call fcn.00418140
lea eax, [esp + 0xb4]
mov byte [esp + 0x1c8], 0x24
push eax
mov ecx, ebx
call fcn.004bf1b0
test al, al
je 0x5346aa
push str.HotSpotY
lea ecx, [esp + 0xd8]
call fcn.00418140
or dword [esp + 0x10], 2
lea eax, [esp + 0xd4]
push eax
mov ecx, ebx
mov byte [esp + 0x1cc], 0x25
call fcn.004be860
mov esi, eax
jmp 0x5346b8
mov ecx, ebx
call fcn.004be5f0
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c8], 0x24
test al, 2
je 0x5346de
and eax, 0xfffffffd
lea ecx, [esp + 0xd4]
mov dword [esp + 0x10], eax
call fcn.00418210
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1c8], 0x17
call fcn.00418210
mov word [esp + 0x142], si
mov esi, dword [esp + 0x68]
mov word [esp + 0x140], di
mov eax, dword [esp + 0x40]
mov dword [esp + 0x148], eax
add eax, esi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x144], esi
mov esi, dword [esp + 0x20]
mov ecx, esi
push 1
push eax
call fcn.00610520
test al, al
je 0x534a1c
push 1
lea eax, [esp + 0x141]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534a1c
push 1
lea eax, [esp + 0x142]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534a1c
push 1
lea eax, [esp + 0x143]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534a1c
push 2
lea eax, [esp + 0x144]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534a1c
push 2
lea eax, [esp + 0x146]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534a1c
push 4
lea eax, [esp + 0x148]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534a1c
push 4
lea eax, [esp + 0x14c]
mov ecx, esi
push eax
call fcn.00610520
test al, al
je 0x534a1c
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
push 0
push 0
push edi
push esi
push ebx
call fcn.005324d0
test al, al
je 0x534931
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push 1
push 0
push edi
push esi
push eax
call fcn.005324d0
test al, al
je 0x534867
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 0x12
call fcn.00418250
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c8], 0xffffffff
mov dword [esp + 0x14], vtable.wxObject.0
call fcn.005bde00
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x4c], esi
cmp esi, 1
jl 0x534220
mov al, 1
jmp 0x53516c
cmp byte [ebp + 0x10], 0
je 0x534ec8
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x534ec8
push str.ICO:_Error_writing_the_image_file_
lea ecx, [esp + 0x150]
call fcn.00418040
lea ecx, [esp + 0x94]
call fcn.00419eb0
push eax
lea eax, [esp + 0x150]
mov byte [esp + 0x1cc], 0x2f
push eax
call fcn.00420160
add esp, 8
lea ecx, [esp + 0x50]
push eax
call fcn.0041fd90
push 0x721844
push str.wxICOHandler::SaveFile
push 0x56f
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0x180]
mov byte [esp + 0x1dc], 0x30
call fcn.00439de0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1c8], 0x31
push ecx
mov ecx, eax
call fcn.00439e50
lea ecx, [esp + 0x16c]
mov byte [esp + 0x1c8], 0x30
call fcn.0043f270
mov byte [esp + 0x1c8], 0x2f
jmp 0x5349f6
cmp byte [ebp + 0x10], 0
je 0x534ec8
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x534ec8
push str.ICO:_Error_writing_the_image_file_
lea ecx, [esp + 0x150]
call fcn.00418040
lea ecx, [esp + 0x94]
call fcn.00419eb0
push eax
lea eax, [esp + 0x150]
mov byte [esp + 0x1cc], 0x2b
push eax
call fcn.00420160
add esp, 8
lea ecx, [esp + 0x50]
push eax
call fcn.0041fd90
push 0x721844
push str.wxICOHandler::SaveFile
push 0x564
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0x180]
mov byte [esp + 0x1dc], 0x2c
call fcn.00439de0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1c8], 0x2d
push ecx
mov ecx, eax
call fcn.00439e50
lea ecx, [esp + 0x16c]
mov byte [esp + 0x1c8], 0x2c
call fcn.0043f270
mov byte [esp + 0x1c8], 0x2b
lea ecx, [esp + 0x50]
call fcn.00420020
lea ecx, [esp + 0x94]
call fcn.00418210
lea ecx, [esp + 0x14c]
call fcn.00418210
jmp 0x534ec8
cmp byte [ebp + 0x10], 0
je 0x534ec8
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x534ec8
push str.ICO:_Error_writing_the_image_file_
lea ecx, [esp + 0xb8]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
mov dword [esp + 0xec], eax
mov byte [esp + 0x1c8], 0x27
call fcn.005eae80
test eax, eax
je 0x534aab
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0xb8]
push ecx
mov ecx, eax
call fcn.005ecae0
test eax, eax
jne 0x534abb
lea eax, [esp + 0xb4]
push eax
call fcn.005ed1e0
add esp, 4
push eax
lea ecx, [esp + 0x54]
call fcn.0041fd90
push 0x721844
push str.wxICOHandler::SaveFile
push 0x558
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0x180]
mov byte [esp + 0x1dc], 0x28
call fcn.00439de0
mov esi, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1c8], 0x29
call fcn.005e6500
push eax
push esi
call fcn.00439e70
add esp, 8
mov byte [esp + 0x1c8], 0x28
lea ecx, [esp + 0x16c]
call fcn.0043f270
mov byte [esp + 0x1c8], 0x27
jmp 0x534c39
cmp byte [ebp + 0x10], 0
je 0x534ec8
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x534ec8
push str.ICO:_Error_writing_the_image_file_
lea ecx, [esp + 0xb8]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
mov dword [esp + 0xec], eax
mov byte [esp + 0x1c8], 0x1f
call fcn.005eae80
test eax, eax
je 0x534bbc
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0xb8]
push ecx
mov ecx, eax
call fcn.005ecae0
test eax, eax
jne 0x534bcc
lea eax, [esp + 0xb4]
push eax
call fcn.005ed1e0
add esp, 4
push eax
lea ecx, [esp + 0x54]
call fcn.0041fd90
push 0x721844
push str.wxICOHandler::SaveFile
push 0x51e
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0x180]
mov byte [esp + 0x1dc], 0x20
call fcn.00439de0
mov esi, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1c8], 0x21
call fcn.005e6500
push eax
push esi
call fcn.00439e70
add esp, 8
mov byte [esp + 0x1c8], 0x20
lea ecx, [esp + 0x16c]
call fcn.0043f270
mov byte [esp + 0x1c8], 0x1f
lea ecx, [esp + 0x50]
call fcn.00420020
lea ecx, [esp + 0xd4]
call fcn.00418210
lea ecx, [esp + 0xb4]
call fcn.00418210
jmp 0x534ec8
cmp byte [ebp + 0x10], 0
je 0x534ec8
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x534ec8
push str.ICO:_Error_writing_the_image_file_
lea ecx, [esp + 0xd8]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x1c8], 0x19
call fcn.005eae80
test eax, eax
je 0x534cf0
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x534d02
lea eax, [esp + 0xd4]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c8], 0x1a
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov byte [esp + 0x1c8], 0x1b
call fcn.005c92f0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
push 0
mov byte [esp + 0x1cc], 0x1c
mov dword [esp + 0xf8], 1
mov dword [esp + 0x100], str....._srccommonimagbmp.cpp
mov dword [esp + 0x108], str.wxICOHandler::SaveFile
mov dword [esp + 0x104], 0x513
mov dword [esp + 0x10c], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x118], 0
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
mov dword [esp + 0x134], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c8], 0x1d
call fcn.005e6500
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00439e70
push dword [esp + 0x13c]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x1d4], 0x1c
call ebx
add esp, 0xc
cmp dword [esp + 0x130], 8
jb 0x534e21
push dword [esp + 0x11c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x130], 7
lea ecx, [esp + 0xfc]
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
call fcn.00439c40
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c8], 0x19
call fcn.00420020
push dword [esp + 0xcc]
call ebx
add esp, 4
cmp dword [esp + 0xc8], 8
jb 0x534e83
push dword [esp + 0xb4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xec]
xor eax, eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], ax
call ebx
add esp, 4
cmp dword [esp + 0xe8], 8
jb 0x534ec8
push dword [esp + 0xd4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 0x12
call fcn.00418250
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c8], 0xffffffff
mov dword [esp + 0x14], vtable.wxObject.0
call fcn.005bde00
jmp 0x53516a
cmp byte [ebp + 0x10], 0
je 0x53516a
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x53516a
push str.ICO:_Error_writing_the_image_file_
lea ecx, [esp + 0xd8]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x1c8], 0xc
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x1c8], 0xd
call fcn.005eae80
test eax, eax
je 0x534f96
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x534fa8
lea eax, [esp + 0xd4]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c8], 0xe
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov byte [esp + 0x1c8], 0xf
call fcn.005c92f0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
push 0
mov byte [esp + 0x1cc], 0x10
mov dword [esp + 0xf8], 1
mov dword [esp + 0x100], str....._srccommonimagbmp.cpp
mov dword [esp + 0x108], str.wxICOHandler::SaveFile
mov dword [esp + 0x104], 0x4d6
mov dword [esp + 0x10c], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x118], 0
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
mov dword [esp + 0x134], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c8], 0x11
call fcn.005e6500
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00439e70
push dword [esp + 0x13c]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x1d4], 0x10
call esi
add esp, 0xc
cmp dword [esp + 0x130], 8
jb 0x5350c7
push dword [esp + 0x11c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x130], 7
lea ecx, [esp + 0xfc]
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
call fcn.00439c40
mov byte [esp + 0x1c8], 0xd
lea ecx, [esp + 0x2c]
call fcn.00420020
push dword [esp + 0xcc]
call esi
add esp, 4
cmp dword [esp + 0xc8], 8
jb 0x535129
push dword [esp + 0xb4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xec]
xor eax, eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], eax
mov word [esp + 0xb8], ax
call esi
add esp, 4
cmp dword [esp + 0xe8], 8
jb 0x53516a
push dword [esp + 0xd4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.006d1ba7
mov esp, ebp
pop ebp
ret 0xc