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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55f65e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x3c], esi
mov ebx, dword [ebp + 8]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.0048b470
cmp eax, 0x7f
jle 0x4927e6
cmp byte [ebp + 0x10], 0
je 0x4927cc
call fcn.00469590
cmp eax, edi
je 0x4927be
mov edx, dword [eax]
push edi
mov ecx, eax
mov eax, dword [edx + 8]
push str.ICO:_Image_too_tall_for_an_icon.
call eax
push eax
call fcn.004773c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, str.ICO:_Image_too_tall_for_an_icon.
push eax
call fcn.004773c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
call fcn.0048b450
cmp eax, 0xff
jle 0x49285d
cmp byte [ebp + 0x10], 0
je 0x4927cc
call fcn.00469590
cmp eax, edi
je 0x492835
mov edx, dword [eax]
push edi
mov ecx, eax
mov eax, dword [edx + 8]
push str.ICO:_Image_too_wide_for_an_icon.
call eax
push eax
call fcn.004773c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, str.ICO:_Image_too_wide_for_an_icon.
push eax
call fcn.004773c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x14]
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, 5
sete cl
xor edx, edx
mov word [esp + 0x4c], dx
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
push 2
mov dword [esp + 0x20], 6
inc ecx
mov eax, ecx
mov dword [esp + 0x48], eax
mov word [esp + 0x52], ax
mov eax, 1
mov word [esp + 0x54], ax
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 2
lea ecx, [esp + 0x52]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 2
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
test al, al
jne 0x492939
cmp byte [ebp + 0x10], al
je 0x4927cc
call fcn.00469590
cmp eax, edi
je 0x492911
mov edx, dword [eax]
push edi
mov ecx, eax
mov eax, dword [edx + 8]
push str.ICO:_Error_writing_the_image_file_
call eax
push eax
call fcn.004773c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, str.ICO:_Error_writing_the_image_file_
push eax
call fcn.004773c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x40], edi
lea ecx, [ecx]
xor edi, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], vtable.wxImage.0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [esp + 0x98], edi
call fcn.0048b890
mov ecx, esi
test al, al
je 0x492a84
call fcn.0048b850
movzx ecx, al
push ecx
mov ecx, esi
call fcn.0048b830
movzx edx, al
push edx
mov ecx, esi
call fcn.0048b810
movzx eax, al
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.0048cd00
lea edx, [esp + 0x54]
mov byte [esp + 0x98], 1
cmp edx, eax
je 0x4929ac
push eax
mov ecx, edx
call fcn.00461760
lea ecx, [esp + 0x5c]
mov byte [esp + 0x98], 0
mov dword [esp + 0x5c], vtable.wxObject.0
call fcn.00461690
mov ecx, esi
call fcn.0048b810
mov ecx, esi
mov byte [esp + 0x15], al
call fcn.0048b830
mov ecx, esi
mov byte [esp + 0x16], al
call fcn.0048b850
cmp byte [esp + 0x15], 0
mov byte [esp + 0x17], al
jne 0x4929fc
cmp byte [esp + 0x16], 0
jne 0x4929fc
test al, al
je 0x492b0d
lea ecx, [esp + 0x54]
xor edi, edi
call fcn.0048b450
test eax, eax
jle 0x492b0d
nop
lea ecx, [esp + 0x54]
xor esi, esi
call fcn.0048b470
test eax, eax
jle 0x492a71
nop
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0048b6a0
cmp byte [esp + 0x15], al
jne 0x492a63
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0048b6d0
cmp byte [esp + 0x16], al
jne 0x492a63
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0048b700
cmp byte [esp + 0x17], al
jne 0x492a63
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push esi
push edi
call fcn.0048b4d0
lea ecx, [esp + 0x54]
inc esi
call fcn.0048b470
cmp esi, eax
jl 0x492a20
lea ecx, [esp + 0x54]
inc edi
call fcn.0048b450
cmp edi, eax
jl 0x492a10
jmp 0x492b0d
lea eax, [esp + 0x64]
push eax
call fcn.0048c310
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 2
cmp ecx, eax
je 0x492aa4
push eax
call fcn.00461760
lea ecx, [esp + 0x64]
mov byte [esp + 0x98], 0
mov dword [esp + 0x64], vtable.wxObject.0
call fcn.00461690
lea ecx, [esp + 0x54]
call fcn.0048b450
test eax, eax
jle 0x492b0d
lea ebx, [ebx]
lea ecx, [esp + 0x54]
xor esi, esi
call fcn.0048b470
test eax, eax
jle 0x492aff
nop
push 0
push 0
push 0
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.0048b4d0
lea ecx, [esp + 0x54]
inc esi
call fcn.0048b470
cmp esi, eax
jl 0x492ae0
lea ecx, [esp + 0x54]
inc edi
call fcn.0048b450
cmp edi, eax
jl 0x492ad0
mov edx, dword [0x576324]
push edx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x2c]
call fcn.0045fb60
mov esi, dword [ebp + 8]
push 8
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa0], 3
call fcn.0048b9e0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x98], 0
cmp eax, 0xffffffff
je 0x492b60
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x492b60
call fcn.0045ea90
mov ecx, dword [0x576324]
push ecx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x30]
call fcn.0045fb60
push 2
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 4
call fcn.0048b9e0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x98], 0
cmp eax, 0xffffffff
je 0x492bb2
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x492bb2
call fcn.0045ea90
lea ecx, [esp + 0x7c]
call fcn.00479370
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x3c]
push 0
push 0
push eax
lea ecx, [esp + 0x88]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0xac], 5
call fcn.00491780
test al, al
je 0x492f30
mov edx, dword [ebp + 0x10]
push 1
push 0
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call fcn.00491780
test al, al
je 0x492f30
lea ecx, [esp + 0x7c]
call fcn.00479c50
add dword [esp + 0x1c], 0x10
mov edi, eax
mov ecx, esi
mov dword [esp + 0x48], edi
call fcn.0048b450
mov ecx, esi
mov byte [esp + 0x6c], al
call fcn.0048b470
add al, al
cmp dword [esp + 0x44], 2
mov byte [esp + 0x6d], al
mov edx, 1
mov eax, 8
mov byte [esp + 0x6e], 0
mov byte [esp + 0x6f], 0
mov word [esp + 0x70], dx
mov word [esp + 0x72], ax
jne 0x492dfe
mov ecx, dword [0x576324]
push ecx
push 0
push str.HotSpotX
lea ecx, [esp + 0x38]
call fcn.0045fb60
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov byte [esp + 0x9c], 6
call fcn.0048ba80
test al, al
je 0x492cc0
mov eax, dword [0x576324]
push eax
push 0
push str.HotSpotX
lea ecx, [esp + 0x34]
call fcn.0045fb60
or dword [esp + 0x18], 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0x9c], 7
call fcn.0048cfd0
jmp 0x492ccc
mov ecx, esi
call fcn.0048b450
cdq
sub eax, edx
sar eax, 1
test byte [esp + 0x18], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x98], 6
je 0x492d02
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
and dword [esp + 0x18], 0xfffffffe
add ecx, 0xfffffff4
cmp eax, 0xffffffff
je 0x492d02
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x492d02
call fcn.0045ea90
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x98], 5
cmp eax, 0xffffffff
je 0x492d25
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x492d25
call fcn.0045ea90
mov edx, dword [0x576324]
push edx
push 0
push str.HotSpotY
lea ecx, [esp + 0x40]
call fcn.0045fb60
lea eax, [esp + 0x34]
push eax
mov ecx, esi
mov byte [esp + 0x9c], 8
call fcn.0048ba80
test al, al
je 0x492d88
mov ecx, dword [0x576324]
push ecx
push 0
push str.HotSpotY
lea ecx, [esp + 0x3c]
call fcn.0045fb60
or dword [esp + 0x18], 2
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov byte [esp + 0x9c], 9
call fcn.0048cfd0
mov edi, eax
jmp 0x492d96
mov ecx, esi
call fcn.0048b470
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test byte [esp + 0x18], 2
mov dword [esp + 0x98], 8
je 0x492dc8
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
and dword [esp + 0x18], 0xfffffffd
add ecx, 0xfffffff4
cmp eax, 0xffffffff
je 0x492dc8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x492dc8
call fcn.0045ea90
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x98], 5
cmp eax, 0xffffffff
je 0x492deb
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x492deb
call fcn.0045ea90
mov ax, word [esp + 0x38]
mov word [esp + 0x72], di
mov edi, dword [esp + 0x48]
mov word [esp + 0x70], ax
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x78], eax
add eax, edi
mov dword [esp + 0x1c], eax
push 1
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
mov dword [esp + 0x7c], edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 1
lea ecx, [esp + 0x71]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 1
lea ecx, [esp + 0x72]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 1
lea ecx, [esp + 0x73]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 2
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 2
lea ecx, [esp + 0x76]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
test al, al
je 0x492f30
mov eax, dword [ebp + 0x10]
push 0
push 0
push eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ecx, esi
call fcn.00491780
test al, al
je 0x492f30
mov ecx, dword [ebp + 0x10]
push 1
push 0
push ecx
push ebx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.00491780
test al, al
je 0x492fa6
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0
call fcn.00479300
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x54], vtable.wxObject.0
call fcn.00461690
mov eax, dword [esp + 0x40]
inc eax
cmp eax, 1
mov dword [esp + 0x40], eax
jl 0x492940
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0x10], 0
je 0x492f5f
call fcn.00469590
test eax, eax
je 0x492f51
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.ICO:_Error_writing_the_image_file_
call eax
jmp 0x492f56
mov eax, str.ICO:_Error_writing_the_image_file_
push eax
call fcn.004773c0
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0
call fcn.00479300
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x54], vtable.wxObject.0
call fcn.00461690
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0x10], 0
je 0x492f5f
push 0
push str.ICO:_Error_writing_the_image_file_
call fcn.00461a40
push eax
call fcn.004773c0
add esp, 0xc
jmp 0x492f5f