Function at 0x43f030
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4ddf18]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x78], ecx
and ebx, dword [0x4ddf1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
push esi
push edi
test eax, eax
je 0x43f076
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.0047b2f0
test ebx, ebx
je 0x43f089
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0047b2f0
push 0
lea edx, [esp + 0x70]
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], 0
call fcn.00479620
mov ecx, dword [esp + 0x6c]
add esp, 4
mov eax, dword [esp + 0x6c]
xor ebx, ebx
mov edi, dword [ebp + 0x18]
add dword [ebp + 8], ecx
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], ecx
add dword [ebp + 0x14], eax
push 0x2e
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], ebx
call fcn.00492647
mov esi, eax
add esp, 8
test esi, esi
je 0x43f13e
add esi, 2
push 0x4d019c
push esi
call fcn.0049466a
add esp, 8
test eax, eax
je 0x43f12a
push 0x4d01a4
push esi
call fcn.0049466a
add esp, 8
test eax, eax
je 0x43f12a
push 0x4d01ac
push esi
call fcn.0049466a
add esp, 8
test eax, eax
jne 0x43f13e
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov ebx, eax
call esi
mov dword [esp + 0x20], eax
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x20
je 0x43f14d
cmp eax, 9
jne 0x43f152
add esi, 2
jmp 0x43f140
cmp word [esi], 0x2a
jne 0x43f39f
nop dword [eax]
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.0049e62e
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x43f2e1
cmp eax, 0x57
je 0x43f2b8
push 4
push str.Icon
push esi
call fcn.00495d63
add esp, 0xc
test eax, eax
jne 0x43f1cc
add esi, 8
mov ecx, esi
call fcn.00403e00
test al, al
je 0x43f1bd
push 0x10
push 0
push esi
call fcn.00495c2d
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x43f30f
push esi
call fcn.00495cca
mov dword [esp + 0x34], eax
jmp 0x43f30c
push 5
push str.Trans
push esi
call fcn.00495d63
add esp, 0xc
test eax, eax
jne 0x43f272
push 0x1f
add esi, 0xa
lea eax, [esp + 0xac]
push esi
push eax
call fcn.0049ef24
add esp, 0xc
lea ecx, [esp + 0xa8]
xor eax, eax
mov edx, 0x4c89b4
mov word [esp + 0xe6], ax
call fcn.004053e1
test eax, eax
je 0x43f21e
xor ecx, ecx
mov word [eax], cx
lea ecx, [esp + 0xa8]
call fcn.00479440
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x43f24e
push 0x10
lea eax, [esp + 0xac]
push 0
push eax
call fcn.00495c2d
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x43f30f
mov eax, ecx
shr eax, 8
movzx edx, al
movzx eax, cl
shl eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x38], edx
jmp 0x43f30f
mov ecx, esi
call fcn.00403e00
test al, al
je 0x43f28c
push 0x10
push 0
push esi
call fcn.00495c2d
add esp, 0xc
jmp 0x43f295
push esi
call fcn.00495cca
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jns 0x43f2a7
mov dword [esp + 0x10], 0
jmp 0x43f30f
cmp eax, 0xff
jle 0x43f30f
mov dword [esp + 0x10], 0xff
jmp 0x43f30f
lea edi, [esi + 2]
mov ecx, edi
call fcn.00403e00
test al, al
je 0x43f2d7
push 0x10
push 0
push edi
call fcn.00495c2d
add esp, 0xc
mov ebx, eax
jmp 0x43f30f
push edi
call fcn.00495cca
mov ebx, eax
jmp 0x43f30c
lea edi, [esi + 2]
mov ecx, edi
call fcn.00403e00
test al, al
je 0x43f302
push 0x10
push 0
push edi
call fcn.00495c2d
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x43f30f
push edi
call fcn.00495cca
mov dword [esp + 0x24], eax
add esp, 4
test esi, esi
je 0x43f34d
movzx eax, word [esi]
test ax, ax
je 0x43f34d
nop dword [eax + eax]
movzx edx, ax
mov ecx, 0x4c89b4
mov eax, 0x20
nop dword [eax]
cmp dx, ax
je 0x43f37e
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x43f330
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x43f320
mov eax, dword [0x4d89c0]
test byte [eax + 0x100], 1
jne 0x43fb11
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4c8a14
call fcn.0047b2f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edi, [esi + 2]
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x20
je 0x43f390
cmp eax, 9
jne 0x43f395
add esi, 2
jmp 0x43f383
cmp word [esi], 0x2a
je 0x43f160
push 0
lea eax, [esp + 0x1b]
mov edx, ebx
push eax
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x34]
mov ecx, edi
push eax
push dword [esp + 0x34]
call fcn.00479900
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x78], ebx
test ebx, ebx
je 0x43f34d
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x5c], edi
test edi, edi
jne 0x43f405
cmp byte [esp + 0x17], al
jne 0x43f34d
cmp dword [esp + 0x24], 1
push ebx
jne 0x43f3fa
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x43f34d
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43f34d
xor ecx, ecx
xor esi, esi
cmp dword [esp + 0x24], 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x7c], ecx
mov byte [esp + 0xd], cl
jne 0x43f48c
lea eax, [esp + 0x94]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x43f477
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0xe]
push 1
push eax
lea eax, [esp + 0x5c]
mov edx, edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0043e640
add esp, 0x10
mov dword [esp + 0x40], eax
push dword [esp + 0xa4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0xa0]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, ebx
call fcn.0047a280
mov ebx, eax
mov dword [esp + 0x78], eax
test ebx, ebx
je 0x43f34d
push 8
lea eax, [esp + 0x12]
mov edx, edi
push eax
lea eax, [esp + 0x5c]
mov ecx, ebx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0043e640
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x43fa9e
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub ebx, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
inc ebx
push edi
inc esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x43fa9a
push esi
push ebx
push dword [esp + 0x64]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x60], eax
test eax, eax
je 0x43fa9a
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x43fa9a
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x68]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x43fa9a
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xf]
push 8
push eax
lea eax, [esp + 0x6c]
mov edx, edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0043e640
mov edi, eax
add esp, 0x10
mov dword [esp + 0x20], edi
test edi, edi
je 0x43fa9a
mov esi, dword [esp + 0x44]
mov eax, esi
mov ebx, dword [esp + 0x48]
imul ebx, dword [esp + 0x54]
imul eax, dword [esp + 0x64]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], eax
jne 0x43f583
cmp byte [esp + 0xf], 0
je 0x43f661
mov eax, dword [esp + 0x38]
cmp eax, 0xffffffff
je 0x43f595
and eax, 0xf8f8f8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
jle 0x43f5fc
cmp eax, 8
jb 0x43f5eb
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x43f5b0
dec eax
or eax, 0xfffffff8
inc eax
mov edx, dword [esp + 0x3c]
movaps xmm2, xmmword [0x4d3220]
sub edx, eax
nop dword [eax]
movups xmm0, xmmword [edi + ecx*4]
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [edi + ecx*4], xmm1
movups xmm0, xmmword [edi + ecx*4 + 0x10]
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [edi + ecx*4 + 0x10], xmm1
add ecx, 8
cmp ecx, edx
jl 0x43f5c0
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jge 0x43f5fc
nop
and dword [edi + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, eax
jl 0x43f5f0
xor ecx, ecx
test ebx, ebx
jle 0x43f67d
cmp ebx, 8
jb 0x43f64d
mov eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x43f615
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm2, xmmword [0x4d3220]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [eax + ecx*4]
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [eax + ecx*4], xmm1
movups xmm0, xmmword [eax + ecx*4 + 0x10]
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [eax + ecx*4 + 0x10], xmm1
add ecx, 8
cmp ecx, edx
jl 0x43f624
jmp 0x43f651
mov eax, dword [esp + 0x28]
cmp ecx, ebx
jge 0x43f661
and dword [eax + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, ebx
jl 0x43f655
mov edx, dword [esp + 0x28]
test ebx, ebx
jle 0x43f681
lea eax, [edx + 3]
mov ecx, ebx
nop
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x43f670
jmp 0x43f681
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x10], 1
jge 0x43f87d
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jle 0x43f6ab
lea eax, [edi + 3]
mov ecx, ebx
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x43f6a0
xor edi, edi
mov dword [esp + 0x18], edi
test ebx, ebx
jle 0x43fa0b
mov eax, dword [edx]
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x20]
cmp dword [ebx + ecx], eax
je 0x43f6e5
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x43f6db
cmp dword [ecx], 0
jne 0x43f6e5
cmp eax, dword [esp + 0x38]
jne 0x43f862
mov eax, edi
mov ecx, dword [esp + 0x64]
cdq
idiv esi
sub ecx, eax
cmp dword [esp + 0x54], ecx
jg 0x43f85e
mov eax, esi
sub eax, edx
cmp dword [esp + 0x48], eax
jg 0x43f85e
xor ebx, ebx
mov byte [esp + 0xd], 1
xor esi, esi
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x30], ebx
jle 0x43f7b0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
sub ecx, edx
mov byte [esp + 0xd], 1
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x20]
mov ecx, dword [edx]
cmp dword [eax + ebx], ecx
mov ebx, dword [esp + 0x4c]
je 0x43f770
cmp dword [esp + 0x40], 0
je 0x43f766
mov ecx, dword [esp + 0x58]
cmp dword [ecx + edx], 0
mov ecx, dword [edx]
jne 0x43f770
cmp ecx, dword [esp + 0x38]
jne 0x43f84d
inc esi
cmp esi, dword [esp + 0x48]
jge 0x43f77d
inc edi
add eax, 4
jmp 0x43f7a2
mov edi, dword [esp + 0x44]
xor esi, esi
mov ecx, dword [esp + 0x24]
lea eax, [edi*4]
add ecx, eax
mov eax, dword [esp + 0x50]
add eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], eax
mov edi, eax
mov eax, ecx
inc ebx
add edx, 4
mov dword [esp + 0x4c], ebx
cmp ebx, dword [esp + 0x30]
jl 0x43f744
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x5c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x17], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
jne 0x43f7d7
push dword [esp + 0x78]
call edi
test esi, esi
je 0x43f7f2
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x43f7eb
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x43f7fd
push eax
call edi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43f80e
push eax
call fcn.00495d53
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43f81f
push eax
call fcn.00495d53
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43f34d
push eax
call fcn.00495d53
add esp, 4
cmp byte [esp + 0xd], 0
jne 0x43faaa
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
mov byte [esp + 0xd], 0
mov eax, dword [esp + 0x2c]
inc edi
add ebx, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebx
cmp edi, dword [esp + 0x3c]
jl 0x43f6c5
jmp 0x43fa0b
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x3c], edi
jle 0x43fa0b
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov eax, edi
mov ecx, dword [esp + 0x64]
cdq
idiv esi
sub ecx, eax
cmp dword [esp + 0x54], ecx
jg 0x43f9f5
mov eax, esi
sub eax, edx
cmp dword [esp + 0x48], eax
jg 0x43f9f5
xor ecx, ecx
mov byte [esp + 0xd], 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x50], edi
cmp dword [esp + 0x30], ecx
jle 0x43f7b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x84], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x88], ecx
nop dword [eax]
mov cl, byte [eax + 2]
mov ch, byte [eax]
mov bl, byte [eax + 1]
mov eax, dword [esp + 0x10]
movzx edx, cl
mov byte [esp + 0x37], ch
cmp eax, edx
jle 0x43f91e
mov byte [esp + 0xe], 0
jmp 0x43f926
mov bh, cl
sub bh, al
mov byte [esp + 0xe], bh
movzx esi, bl
cmp eax, esi
jle 0x43f934
mov byte [esp + 0xf], 0
jmp 0x43f93c
mov bh, bl
sub bh, al
mov byte [esp + 0xf], bh
movzx edi, ch
cmp eax, edi
jle 0x43f947
xor bh, bh
jmp 0x43f94b
mov bh, ch
sub bh, al
mov eax, 0xff
sub eax, edx
mov edx, dword [esp + 0x10]
cmp edx, eax
jle 0x43f95f
or dh, 0xff
jmp 0x43f963
mov dh, dl
add dh, cl
mov ecx, dword [esp + 0x10]
mov eax, 0xff
sub eax, esi
cmp ecx, eax
jle 0x43f977
or ch, 0xff
jmp 0x43f97b
mov ch, cl
add ch, bl
mov eax, 0xff
sub eax, edi
cmp dword [esp + 0x10], eax
jle 0x43f98d
or bl, 0xff
jmp 0x43f995
mov bl, byte [esp + 0x10]
add bl, byte [esp + 0x37]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov cl, byte [edi + esi + 2]
mov al, byte [edi + esi + 1]
mov dl, byte [edi + esi]
cmp cl, byte [esp + 0xe]
jb 0x43f9c4
cmp cl, dh
ja 0x43f9c4
cmp al, byte [esp + 0xf]
jb 0x43f9c4
cmp al, ch
ja 0x43f9c4
cmp dl, bh
jb 0x43f9c4
cmp dl, bl
jbe 0x43fa26
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x2c]
je 0x43f9dc
mov ecx, dword [esp + 0x88]
cmp dword [eax + ecx], 0
jne 0x43fa2a
mov ecx, dword [esp + 0x38]
cmp dword [eax], ecx
je 0x43fa2a
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x44]
mov byte [esp + 0xd], 0
inc edi
add ebx, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x58], ebx
cmp edi, dword [esp + 0x3c]
jl 0x43f893
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4c8740
call fcn.0047b2f0
jmp 0x43f7b0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
inc esi
mov dword [esp + 0x4c], esi
cmp esi, dword [esp + 0x48]
jge 0x43fa46
inc dword [esp + 0x50]
add edi, 4
mov dword [esp + 0x24], edi
jmp 0x43fa7b
mov ebx, dword [esp + 0x44]
xor ecx, ecx
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
lea ecx, [ebx*4]
add edx, ecx
add edi, ebx
mov ecx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x70]
add eax, 4
inc esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], esi
cmp esi, dword [esp + 0x30]
jl 0x43f900
jmp 0x43f7b0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x80]
jmp 0x43f7b8
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x44]
test ecx, ecx
je 0x43fad1
mov eax, ebx
cdq
idiv esi
push 0x18
sub edx, dword [esp + 0x6c]
add edx, dword [ebp + 8]
mov eax, edx
cdq
push edx
push eax
call fcn.00401330
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x43faf2
mov eax, ebx
cdq
idiv esi
push 0x18
sub eax, dword [esp + 0x70]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
call fcn.00401330
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4b41e8
call fcn.0047b2f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x80]
push 0x4c602c
push 0
push 0x4c8a14
call fcn.00434ec0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14