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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc45e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
call fcn.0040a150
cmp eax, 0x7f
jle 0x43a819
mov al, byte [ebp + 0x10]
test al, al
je 0x43afde
call fcn.004758f0
cmp eax, ebx
je 0x43a7f2
push ebx
push str.ICO:_Image_too_tall_for_an_icon.
mov ecx, eax
call fcn.00475d60
push eax
call fcn.00476670
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.00476670
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, esi
call fcn.0040a120
cmp eax, 0xff
jle 0x43a891
mov al, byte [ebp + 0x10]
test al, al
je 0x43afde
call fcn.004758f0
cmp eax, ebx
je 0x43a86a
push ebx
push str.ICO:_Image_too_wide_for_an_icon.
mov ecx, eax
call fcn.00475d60
push eax
call fcn.00476670
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.00476670
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 [edi + 0x14]
mov edi, dword [ebp + 0xc]
mov edx, dword [edi]
xor ecx, ecx
cmp eax, 5
sete cl
push 2
mov dword [esp + 0x1c], 6
mov word [esp + 0x4c], bx
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, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 2
lea eax, [esp + 0x4e]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 2
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call dword [edx + 0x3c]
cmp dword [edi + 8], ebx
je 0x43a958
mov al, byte [ebp + 0x10]
test al, al
je 0x43afde
call fcn.004758f0
cmp eax, ebx
je 0x43a931
push ebx
push str.ICO:_Error_writing_the_image_file_
mov ecx, eax
call fcn.00475d60
push eax
call fcn.00476670
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.00476670
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], ebx
jmp 0x43a960
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], vtable.wxImage.0
mov ecx, esi
mov dword [esp + 0x94], ebx
call fcn.004098d0
test al, al
mov ecx, esi
je 0x43aa9a
call fcn.00409870
mov ecx, esi
push eax
call fcn.00409840
mov ecx, esi
push eax
call fcn.00409810
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, esi
call fcn.00409f80
mov edx, dword [esp + 0x54]
cmp edx, dword [eax + 4]
mov byte [esp + 0x94], 1
je 0x43a9c1
push eax
lea ecx, [esp + 0x54]
call fcn.00474180
lea ecx, [esp + 0x58]
mov byte [esp + 0x94], 0
mov dword [esp + 0x58], vtable.wxObject.0
call fcn.00474100
mov ecx, esi
call fcn.00409810
mov bl, al
mov ecx, esi
mov byte [esp + 0x12], bl
call fcn.00409840
mov ecx, esi
mov byte [esp + 0x11], al
call fcn.00409870
test bl, bl
mov byte [esp + 0x13], al
jne 0x43aa11
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x43aa11
test al, al
je 0x43ab39
lea ecx, [esp + 0x50]
xor ebx, ebx
call fcn.0040a120
test eax, eax
jle 0x43ab39
lea ecx, [esp + 0x50]
xor esi, esi
call fcn.0040a150
test eax, eax
jle 0x43aa84
push esi
push ebx
lea ecx, [esp + 0x58]
call fcn.0040a200
cmp byte [esp + 0x12], al
jne 0x43aa76
push esi
push ebx
lea ecx, [esp + 0x58]
call fcn.0040a260
cmp byte [esp + 0x11], al
jne 0x43aa76
push esi
push ebx
lea ecx, [esp + 0x58]
call fcn.0040a2c0
cmp byte [esp + 0x13], al
jne 0x43aa76
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push esi
push ebx
call fcn.0040a180
lea ecx, [esp + 0x50]
inc esi
call fcn.0040a150
cmp esi, eax
jl 0x43aa33
lea ecx, [esp + 0x50]
inc ebx
call fcn.0040a120
cmp ebx, eax
jl 0x43aa24
mov esi, dword [ebp + 8]
jmp 0x43ab39
lea eax, [esp + 0x60]
push eax
call fcn.00409de0
mov ecx, dword [esp + 0x54]
cmp ecx, dword [eax + 4]
mov byte [esp + 0x94], 2
je 0x43aabf
push eax
lea ecx, [esp + 0x54]
call fcn.00474180
lea ecx, [esp + 0x60]
mov byte [esp + 0x94], 0
mov dword [esp + 0x60], vtable.wxObject.0
call fcn.00474100
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], ebx
call fcn.0040a120
test eax, eax
jle 0x43ab39
lea esp, [esp]
lea ecx, [esp + 0x50]
xor ebx, ebx
call fcn.0040a150
test eax, eax
jle 0x43ab23
nop
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push ebx
push edx
lea ecx, [esp + 0x64]
call fcn.0040a180
lea ecx, [esp + 0x50]
inc ebx
call fcn.0040a150
cmp ebx, eax
jl 0x43ab00
mov ebx, dword [esp + 0x20]
inc ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], ebx
call fcn.0040a120
cmp ebx, eax
jl 0x43aaf0
mov eax, dword [0x4e4f74]
push eax
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x30]
call fcn.00472c90
push 8
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0x9c], 3
call fcn.0040a450
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x94], 0
je 0x43ab8b
dec ecx
mov dword [eax], ecx
jne 0x43ab8b
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov edx, dword [0x4e4f74]
push edx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x34]
call fcn.00472c90
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 4
call fcn.0040a450
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x94], 0
je 0x43abe0
dec ecx
mov dword [eax], ecx
jne 0x43abe0
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea ecx, [esp + 0x78]
call fcn.0047b810
mov ebx, dword [ebp + 0x10]
push 0
push 0
push ebx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
mov byte [esp + 0xa8], 5
call fcn.00439940
test al, al
je 0x43af74
mov ecx, dword [esp + 0x1c]
push 1
push 0
push ebx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00439940
test al, al
je 0x43af74
lea ecx, [esp + 0x78]
call fcn.0047c0f0
mov edx, dword [esp + 0x18]
mov ebx, eax
add edx, 0x10
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], edx
call fcn.0040a120
mov ecx, esi
mov byte [esp + 0x68], al
call fcn.0040a150
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 0x43ae41
mov ecx, dword [0x4e4f74]
push ecx
push 0
push str.HotSpotX
lea ecx, [esp + 0x3c]
call fcn.00472c90
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov byte [esp + 0x98], 6
call fcn.00409960
test al, al
je 0x43aceb
mov eax, dword [0x4e4f74]
push eax
push 0
push str.HotSpotX
lea ecx, [esp + 0x38]
call fcn.00472c90
or dword [esp + 0x14], 1
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov byte [esp + 0x98], 7
call fcn.0040a5b0
jmp 0x43acf7
mov ecx, esi
call fcn.0040a120
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
test byte [esp + 0x14], 1
mov dword [esp + 0x94], 6
je 0x43ad36
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
and ebx, 0xfffffffe
cmp ecx, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x43ad36
dec ecx
mov dword [eax], ecx
jne 0x43ad36
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x94], 5
je 0x43ad5c
dec ecx
mov dword [eax], ecx
jne 0x43ad5c
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov edx, dword [0x4e4f74]
push edx
push 0
push str.HotSpotY
lea ecx, [esp + 0x44]
call fcn.00472c90
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x98], 8
call fcn.00409960
test al, al
je 0x43adc5
mov ecx, dword [0x4e4f74]
push ecx
push 0
push str.HotSpotY
lea ecx, [esp + 0x40]
call fcn.00472c90
mov ecx, dword [esp + 0x14]
or ecx, 2
lea edx, [esp + 0x34]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
mov byte [esp + 0x98], 9
call fcn.0040a5b0
mov ebx, eax
jmp 0x43add3
mov ecx, esi
call fcn.0040a150
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
test byte [esp + 0x14], 2
mov dword [esp + 0x94], 8
je 0x43ae08
and dword [esp + 0x14], 0xfffffffd
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x43ae08
dec ecx
mov dword [eax], ecx
jne 0x43ae08
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x94], 5
je 0x43ae2e
dec ecx
mov dword [eax], ecx
jne 0x43ae2e
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ax, word [esp + 0x20]
mov word [esp + 0x6e], bx
mov ebx, dword [esp + 0x44]
mov word [esp + 0x6c], ax
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov dword [esp + 0x74], eax
add eax, ebx
mov dword [esp + 0x18], eax
push 1
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
mov dword [esp + 0x78], ebx
call dword [edx + 0x3c]
mov edx, dword [edi]
push 1
lea eax, [esp + 0x6d]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 1
lea eax, [esp + 0x6e]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 1
lea eax, [esp + 0x6f]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 2
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 2
lea eax, [esp + 0x72]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 4
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [edi]
push 4
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov eax, dword [edi + 8]
test eax, eax
jne 0x43af6d
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ebx
push edi
push esi
call fcn.00439940
test al, al
je 0x43af74
push 1
push 0
push ebx
push edi
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00439940
test al, al
je 0x43af9a
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 0
call fcn.0047b7b0
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x50], vtable.wxObject.0
call fcn.00474100
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 1
mov dword [esp + 0x3c], eax
jl 0x43a95e
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.00476670
add esp, 4
jmp 0x43afb1
mov al, byte [ebp + 0x10]
test al, al
jmp 0x43af76
test bl, bl
je 0x43afb1
call fcn.004758f0
test eax, eax
je 0x43af5d
push 0
push str.ICO:_Error_writing_the_image_file_
mov ecx, eax
call fcn.00475d60
push eax
call fcn.00476670
add esp, 4
jmp 0x43afb1
test bl, bl
je 0x43afb1
push str.ICO:_Error_writing_the_image_file_
call fcn.00403100
push eax
call fcn.00476670
add esp, 8
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 0
call fcn.0047b7b0
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x50], vtable.wxObject.0
call fcn.00474100
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