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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push esi
push ebx
mov esi, ecx
call fcn.0042ae50
test al, al
je 0x4302ef
pop esi
xor al, al
pop ebx
add esp, 0x64
ret 4
mov ecx, dword [esi + 0xc]
mov eax, 0xff
cmp ecx, eax
push edi
jg 0x430679
cmp dword [esi + 0x10], eax
jg 0x430679
mov ecx, esi
call fcn.0042b950
mov cx, word [esi + 0x16]
cmp cx, 8
mov dword [esp + 0x1c], eax
ja 0x430326
test eax, eax
je 0x43068a
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x1c]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
push ebp
mov ebp, dword [esi + 0x10]
shl eax, 2
imul ebp, eax
mov dword [esp + 0x28], eax
movzx eax, cx
mov ecx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
call fcn.0042bfe0
test al, al
je 0x430380
mov ecx, dword [esi + 0x28]
xor eax, eax
cmp ecx, eax
jne 0x430382
mov edx, dword [esi + 0x10]
imul edx, dword [esi + 0xc]
shl edx, 2
mov ecx, 0x20
mov dword [esp + 0x18], edx
mov edi, edx
jmp 0x430386
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, 1
mov word [esp + 0x36], dx
mov word [esp + 0x38], dx
mov dl, byte [esi + 0xc]
mov byte [esp + 0x3c], dl
mov dl, byte [esi + 0x10]
mov byte [esp + 0x3d], dl
mov dl, byte [esi + 0x28]
mov byte [esp + 0x3e], dl
mov edx, dword [esi + 0x28]
lea edx, [edi + edx*4 + 0x28]
add edx, ebp
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0xc]
push 1
mov word [esp + 0x46], cx
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x10]
mov word [esp + 0x5e], cx
push 6
lea ecx, [esp + 0x3c]
mov word [esp + 0x3c], ax
mov word [esp + 0x48], ax
shl edx, 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov byte [esp + 0x4b], 0
mov dword [esp + 0x54], 0x16
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x60], edx
mov word [esp + 0x64], 1
mov dword [esp + 0x6c], edi
call dword [eax + 0xc]
mov edx, dword [ebx]
push 1
push 0x10
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov edx, dword [ebx]
push 1
push 0x28
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x430458
mov ecx, dword [esi + 0x28]
mov edx, dword [ebx]
push 1
shl ecx, 2
push ecx
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, esi
call fcn.0042bfe0
test al, al
je 0x430503
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x430503
mov ebp, dword [esi + 0x34]
push edi
call fcn.00418d73
mov edi, eax
mov eax, dword [esi + 0x10]
add esp, 4
test eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0
jle 0x4304e5
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
jle 0x4304cd
lea esp, [esp]
mov dl, byte [ebp]
mov byte [edi], dl
mov al, byte [ebp + 1]
mov edx, dword [esp + 0x14]
inc edi
inc ebp
mov byte [edi], al
mov cl, byte [ebp + 1]
inc edi
inc ebp
mov byte [edi], cl
push edx
inc edi
push ebx
mov ecx, esi
inc ebp
call fcn.0042c0b0
mov byte [edi], al
mov eax, dword [esi + 0xc]
inc edi
inc ebx
cmp ebx, eax
jl 0x4304a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x430493
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 1
push ecx
push edi
mov ecx, ebx
call dword [eax + 0xc]
push edi
call fcn.00418e3d
mov ebp, dword [esp + 0x20]
add esp, 4
jmp 0x430511
mov eax, dword [esi + 0x34]
mov edx, dword [ebx]
push 1
push edi
push eax
mov ecx, ebx
call dword [edx + 0xc]
push 1
push ebp
call fcn.0041b92c
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
jne 0x430530
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x64
ret 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0042b700
cmp dword [esi + 0x14c], 0xffffffff
mov ecx, esi
setne byte [esp + 0x13]
call fcn.0042c100
mov ecx, esi
mov byte [esp + 0x12], al
call fcn.0042bfe0
mov byte [esp + 0x11], al
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], edi
jle 0x430655
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0xc]
xor ebp, ebp
test eax, eax
jle 0x430633
mov al, byte [esp + 0x11]
xor ebx, ebx
test al, al
je 0x43059c
push edi
push ebp
mov ecx, esi
call fcn.0042c0b0
test al, al
jne 0x43059c
mov ebx, 1
mov al, byte [esp + 0x12]
test al, al
je 0x4305c0
push 1
push edi
push ebp
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.0042baf0
mov cl, byte [eax + 3]
test cl, cl
jne 0x4305c0
mov ebx, 1
push 0
push edi
push ebp
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0042baf0
mov cl, byte [esp + 0x13]
test cl, cl
mov eax, dword [eax]
je 0x4305e5
cmp eax, dword [esp + 0x24]
jne 0x4305e5
mov ebx, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edi, ebp
sar edi, 3
add edi, edx
mov edx, ebp
add edi, ecx
and edx, 0x80000007
jns 0x430605
dec edx
or edx, 0xfffffff8
inc edx
mov ecx, 7
sub ecx, edx
mov dl, byte [edi]
mov al, 1
shl al, cl
and bl, 1
shl bl, cl
not al
and al, dl
or al, bl
mov byte [edi], al
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x430580
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x10]
inc edi
add edx, ecx
cmp edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
jl 0x430573
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [ebx]
push 1
push ebp
push esi
mov ecx, ebx
call dword [edx + 0xc]
push esi
call fcn.00418e3d
add esp, 4
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x64
ret 4
lea edi, [esi + 0x44]
mov ecx, 7
mov esi, str.Cant_save_this_image_as_icon
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x64
ret 4