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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d69de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], edi
call fcn.0046aa60
cmp eax, 0x7f
jle 0x47f519
mov al, byte [ebp + 0x10]
test al, al
je 0x47fcce
call fcn.0048da70
cmp eax, edi
je 0x47f4f2
mov edx, dword [eax]
push edi
push str.ICO:_Image_too_tall_for_an_icon.
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004a4df0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], 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.004a4df0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
call fcn.0046aa30
cmp eax, 0xff
jle 0x47f591
mov al, byte [ebp + 0x10]
test al, al
je 0x47fcce
call fcn.0048da70
cmp eax, edi
je 0x47f56a
mov edx, dword [eax]
push edi
push str.ICO:_Image_too_wide_for_an_icon.
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004a4df0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], 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.004a4df0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x14]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx]
xor ecx, ecx
cmp eax, 5
sete cl
push 2
mov dword [esp + 0x1c], 6
mov word [esp + 0x4c], di
mov word [esp + 0x50], 1
inc ecx
mov eax, ecx
mov dword [esp + 0x44], eax
mov word [esp + 0x4e], ax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 2
lea eax, [esp + 0x4e]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 2
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
test al, al
jne 0x47f65e
mov al, byte [ebp + 0x10]
test al, al
je 0x47fcce
call fcn.0048da70
cmp eax, edi
je 0x47f637
mov edx, dword [eax]
push edi
push str.ICO:_Error_writing_the_image_file_
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004a4df0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], 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.004a4df0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], vtable.wxImage.0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.0046aff0
test al, al
mov ecx, esi
je 0x47f7a4
call fcn.0046af80
mov ecx, esi
push eax
call fcn.0046af50
mov ecx, esi
push eax
call fcn.0046af20
mov ecx, esi
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0046cdf0
lea ecx, [esp + 0x50]
cmp ecx, eax
mov byte [esp + 0x94], 1
je 0x47f6c3
push eax
call fcn.0048d2e0
lea ecx, [esp + 0x58]
mov byte [esp + 0x94], 0
mov dword [esp + 0x58], vtable.wxObject.0
call fcn.0048d260
mov ecx, esi
call fcn.0046af20
mov ecx, esi
mov byte [esp + 0x11], al
call fcn.0046af50
mov ecx, esi
mov byte [esp + 0x12], al
call fcn.0046af80
mov byte [esp + 0x13], al
mov al, byte [esp + 0x11]
test al, al
jne 0x47f719
mov al, byte [esp + 0x12]
test al, al
jne 0x47f719
mov al, byte [esp + 0x13]
test al, al
je 0x47f82d
lea ecx, [esp + 0x50]
xor edi, edi
call fcn.0046aa30
test eax, eax
jle 0x47f82d
lea esp, [esp]
lea ecx, [esp + 0x50]
xor esi, esi
call fcn.0046aa60
test eax, eax
jle 0x47f791
nop
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.0046ace0
cmp byte [esp + 0x11], al
jne 0x47f783
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.0046ad40
cmp byte [esp + 0x12], al
jne 0x47f783
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.0046ada0
cmp byte [esp + 0x13], al
jne 0x47f783
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push esi
push edi
call fcn.0046aa90
lea ecx, [esp + 0x50]
inc esi
call fcn.0046aa60
cmp esi, eax
jl 0x47f740
lea ecx, [esp + 0x50]
inc edi
call fcn.0046aa30
cmp edi, eax
jl 0x47f730
jmp 0x47f82d
lea edx, [esp + 0x60]
push edx
call fcn.0046bb50
lea ecx, [esp + 0x50]
cmp ecx, eax
mov byte [esp + 0x94], 2
je 0x47f7c4
push eax
call fcn.0048d2e0
lea ecx, [esp + 0x60]
mov byte [esp + 0x94], 0
mov dword [esp + 0x60], vtable.wxObject.0
call fcn.0048d260
lea ecx, [esp + 0x50]
call fcn.0046aa30
test eax, eax
jle 0x47f82d
lea ebx, [ebx]
lea ecx, [esp + 0x50]
xor esi, esi
call fcn.0046aa60
test eax, eax
jle 0x47f81f
nop
push 0
push 0
push 0
push esi
push edi
lea ecx, [esp + 0x64]
call fcn.0046aa90
lea ecx, [esp + 0x50]
inc esi
call fcn.0046aa60
cmp esi, eax
jl 0x47f800
lea ecx, [esp + 0x50]
inc edi
call fcn.0046aa30
cmp edi, eax
jl 0x47f7f0
mov edx, dword [0x504ebc]
push edx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x28]
call fcn.0048b8c0
mov esi, dword [ebp + 8]
push 8
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x9c], 3
call fcn.0046b1c0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x94], 0
je 0x47f87e
dec eax
mov dword [ecx], eax
jne 0x47f87e
call fcn.0048a9b0
mov ecx, dword [0x504ebc]
push ecx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x2c]
call fcn.0048b8c0
push 2
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 4
call fcn.0046b1c0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x94], 0
je 0x47f8ce
dec eax
mov dword [ecx], eax
jne 0x47f8ce
call fcn.0048a9b0
lea ecx, [esp + 0x78]
call fcn.004a8390
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x38]
push 0
push 0
push eax
lea ecx, [esp + 0x84]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0xa8], 5
call fcn.0047e5d0
test al, al
je 0x47fc5c
mov edx, dword [ebp + 0x10]
push 1
push 0
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call fcn.0047e5d0
test al, al
je 0x47fc5c
lea ecx, [esp + 0x78]
call fcn.004a8db0
mov edx, dword [esp + 0x18]
mov edi, eax
add edx, 0x10
mov ecx, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], edx
call fcn.0046aa30
mov ecx, esi
mov byte [esp + 0x68], al
call fcn.0046aa60
shl al, 1
mov byte [esp + 0x69], al
cmp dword [esp + 0x40], 2
mov byte [esp + 0x6a], 0
mov byte [esp + 0x6b], 0
mov word [esp + 0x6c], 1
mov word [esp + 0x6e], 8
jne 0x47fb29
mov edx, dword [0x504ebc]
push edx
push 0
push str.HotSpotX
lea ecx, [esp + 0x34]
call fcn.0048b8c0
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x98], 6
call fcn.0046b250
test al, al
je 0x47f9e3
mov ecx, dword [0x504ebc]
push ecx
push 0
push str.HotSpotX
lea ecx, [esp + 0x30]
call fcn.0048b8c0
mov ecx, dword [esp + 0x14]
or ecx, 1
lea edx, [esp + 0x24]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
mov byte [esp + 0x98], 7
call fcn.0046d1c0
jmp 0x47f9ef
mov ecx, esi
call fcn.0046aa30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
test byte [esp + 0x14], 1
mov dword [esp + 0x94], 6
je 0x47fa29
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and edi, 0xfffffffe
cmp eax, 0xffffffff
mov dword [esp + 0x14], edi
je 0x47fa29
dec eax
mov dword [ecx], eax
jne 0x47fa29
call fcn.0048a9b0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x94], 5
je 0x47fa4a
dec eax
mov dword [ecx], eax
jne 0x47fa4a
call fcn.0048a9b0
mov eax, dword [0x504ebc]
push eax
push 0
push str.HotSpotY
lea ecx, [esp + 0x3c]
call fcn.0048b8c0
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov byte [esp + 0x98], 8
call fcn.0046b250
test al, al
je 0x47fab2
mov edx, dword [0x504ebc]
push edx
push 0
push str.HotSpotY
lea ecx, [esp + 0x38]
call fcn.0048b8c0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
or edx, 2
push eax
mov ecx, esi
mov byte [esp + 0x98], 9
mov dword [esp + 0x18], edx
call fcn.0046d1c0
mov edi, eax
jmp 0x47fac0
mov ecx, esi
call fcn.0046aa60
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test byte [esp + 0x14], 2
mov dword [esp + 0x94], 8
je 0x47faf5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
and eax, 0xfffffffd
add ecx, 0xfffffff4
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x47faf5
dec eax
mov dword [ecx], eax
jne 0x47faf5
call fcn.0048a9b0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x94], 5
je 0x47fb16
dec eax
mov dword [ecx], eax
jne 0x47fb16
call fcn.0048a9b0
mov cx, word [esp + 0x34]
mov word [esp + 0x6e], di
mov edi, dword [esp + 0x44]
mov word [esp + 0x6c], cx
mov eax, dword [esp + 0x18]
mov edx, dword [ebx]
mov dword [esp + 0x74], eax
add eax, edi
mov dword [esp + 0x18], eax
push 1
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
mov dword [esp + 0x78], edi
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 1
lea eax, [esp + 0x6d]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 1
lea eax, [esp + 0x6e]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 1
lea eax, [esp + 0x6f]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 2
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 2
lea eax, [esp + 0x72]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 4
lea eax, [esp + 0x74]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
push 4
lea eax, [esp + 0x78]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
test al, al
je 0x47fc5c
mov eax, dword [ebp + 0x10]
push 0
push 0
push eax
push ebx
push esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.0047e5d0
test al, al
je 0x47fc5c
mov ecx, dword [ebp + 0x10]
push 1
push 0
push ecx
push ebx
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call fcn.0047e5d0
test al, al
je 0x47fc85
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 0
call fcn.004a8320
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x50], vtable.wxObject.0
call fcn.0048d260
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 1
mov dword [esp + 0x3c], eax
jl 0x47f662
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], 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.004a4df0
add esp, 4
jmp 0x47fca1
mov al, byte [ebp + 0x10]
test al, al
je 0x47fca1
call fcn.0048da70
test eax, eax
je 0x47fc4c
mov edx, dword [eax]
push 0
push str.ICO:_Error_writing_the_image_file_
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004a4df0
add esp, 4
jmp 0x47fca1
mov al, byte [ebp + 0x10]
test al, al
je 0x47fca1
push 0
push str.ICO:_Error_writing_the_image_file_
call fcn.004010f0
push eax
call fcn.004a4df0
add esp, 0xc
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 0
call fcn.004a8320
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x50], vtable.wxObject.0
call fcn.0048d260
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc