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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov edx, dword [ebp + 8]
mov ecx, dword [0x4ca4b0]
mov al, 1
cmp al, byte [edx + 1]
push ebx
push esi
sbb esi, esi
and esi, dword [0x4ca4b4]
push edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
test ecx, ecx
je 0x43acac
call fcn.00414dd0
test esi, esi
je 0x43acb7
mov ecx, esi
call fcn.00414dd0
mov eax, dword [0x4c6a44]
movzx ebx, word [eax + 0xf0]
xor esi, esi
xor edi, edi
and ebx, 3
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
cmp ebx, 2
je 0x43ad3f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x18], eax
test eax, eax
je 0x43ad3f
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x43ad3f
test ebx, ebx
jne 0x43ad08
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x43ad28
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x7c]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x43ad3f
add esi, dword [esp + 0x7c]
add edi, dword [esp + 0x80]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov ebx, dword [ebp + 0x1c]
add dword [ebp + 0xc], esi
add dword [ebp + 0x10], edi
add dword [ebp + 0x14], esi
add dword [ebp + 0x18], edi
xor eax, eax
push 0x2e
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.004919ee
mov esi, eax
add esp, 8
test esi, esi
je 0x43adc8
add esi, 2
push 0x4ad340
push esi
call fcn.0048fba9
add esp, 8
test eax, eax
je 0x43adb2
push 0x4ad348
push esi
call fcn.0048fba9
add esp, 8
test eax, eax
je 0x43adb2
push 0x4ad350
push esi
call fcn.0048fba9
add esp, 8
test eax, eax
jne 0x43adc8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov dword [esp + 0x2c], eax
call esi
mov dword [esp + 0x2c], eax
mov edi, ebx
lea ebx, [ebx]
movzx eax, word [edi]
cmp eax, 0x20
je 0x43addd
cmp eax, 9
jne 0x43ade2
add edi, 2
jmp 0x43add0
cmp word [edi], 0x2a
jne 0x43b0c3
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.00491c2d
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x43afbe
cmp eax, 0x57
je 0x43af4b
push 4
push str.Icon
push edi
call fcn.0048fdad
add esp, 0xc
test eax, eax
jne 0x43ae58
add edi, 8
mov eax, edi
call fcn.0040ec80
test al, al
je 0x43ae49
push 0x10
push 0
push edi
call fcn.0049134f
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x43b02f
push edi
call fcn.00490e96
mov dword [esp + 0x1c], eax
jmp 0x43b02c
push 5
push str.Trans
push edi
call fcn.0048fdad
add esp, 0xc
test eax, eax
jne 0x43aef7
push 0x1f
add edi, 0xa
lea ecx, [esp + 0xac]
push edi
push ecx
call fcn.00492784
xor edx, edx
add esp, 0xc
mov ebx, 0x4a681c
lea eax, [esp + 0xa8]
mov word [esp + 0xe6], dx
call fcn.004098f0
test eax, eax
je 0x43aeaa
xor ecx, ecx
mov word [eax], cx
lea esi, [esp + 0xa8]
call fcn.004774c0
cmp eax, 0xffffffff
jne 0x43aed3
push 0x10
mov edx, esi
push 0
push edx
call fcn.0049134f
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x43b02f
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x43b02f
mov eax, edi
call fcn.0040ec80
test al, al
je 0x43af15
push 0x10
push 0
push edi
call fcn.0049134f
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x43af22
push edi
call fcn.00490e96
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jns 0x43af33
mov dword [esp + 0x14], 0
jmp 0x43b02f
cmp eax, 0xff
jle 0x43b02f
mov dword [esp + 0x14], 0xff
jmp 0x43b02f
lea esi, [edi + 2]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43af5d
cmp ecx, 9
jne 0x43af62
add eax, 2
jmp 0x43af50
movzx ecx, word [eax]
test cx, cx
je 0x43afb2
cmp ecx, 0x2d
je 0x43af74
cmp ecx, 0x2b
jne 0x43af77
add eax, 2
cmp word [eax], 0x30
jne 0x43afb2
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x43af8b
cmp ecx, 0x58
jne 0x43afb2
movzx ecx, word [eax + 4]
push ecx
call fcn.0049115d
add esp, 4
test eax, eax
je 0x43afb2
push 0x10
push 0
push esi
call fcn.0049134f
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x43b02f
push esi
call fcn.00490e96
mov dword [esp + 0x2c], eax
jmp 0x43b02c
lea esi, [edi + 2]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43afd0
cmp ecx, 9
jne 0x43afd5
add eax, 2
jmp 0x43afc3
movzx ecx, word [eax]
test cx, cx
je 0x43b022
cmp ecx, 0x2d
je 0x43afe7
cmp ecx, 0x2b
jne 0x43afea
add eax, 2
cmp word [eax], 0x30
jne 0x43b022
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x43affe
cmp ecx, 0x58
jne 0x43b022
movzx edx, word [eax + 4]
push edx
call fcn.0049115d
add esp, 4
test eax, eax
je 0x43b022
push 0x10
push 0
push esi
call fcn.0049134f
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x43b02f
push esi
call fcn.00490e96
mov dword [esp + 0x30], eax
add esp, 4
test edi, edi
je 0x43b06d
movzx eax, word [edi]
test ax, ax
je 0x43b06d
jmp 0x43b040
movzx edx, ax
mov ecx, 0x4a681c
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x43b0a0
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x43b050
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43b040
mov ecx, dword [0x4c6a44]
test byte [ecx + 0x100], 1
jne 0x43b733
mov edx, dword [0x4cad6c]
push 1
push 0
push 0xffffffffffffffff
push 0x4a687c
push edx
call fcn.00479370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea ebx, [edi + 2]
mov eax, ebx
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43b0b2
cmp ecx, 9
jne 0x43b0b7
add eax, 2
jmp 0x43b0a5
cmp word [eax], 0x2a
mov edi, eax
je 0x43adec
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x2b]
push eax
mov eax, dword [esp + 0x34]
push 0
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x54]
push edx
push eax
push ecx
push ebx
call fcn.004779c0
mov esi, eax
add esp, 0x20
mov dword [esp + 0x78], esi
test esi, esi
je 0x43b06d
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x50], edi
test edi, edi
jne 0x43b131
cmp byte [esp + 0x27], al
jne 0x43b06d
cmp dword [esp + 0x44], 1
push esi
jne 0x43b126
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x43b06d
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43b06d
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
cmp dword [esp + 0x44], 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x11], al
jne 0x43b1bd
lea edx, [esp + 0x94]
push edx
push esi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x43b1a6
push 1
lea eax, [esp + 0x16]
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, edi
call fcn.0043a250
mov ecx, dword [esp + 0xb8]
add esp, 0x14
push ecx
mov dword [esp + 0x38], eax
call ebx
mov edx, dword [esp + 0xa0]
push edx
call ebx
push esi
call fcn.00478330
mov esi, eax
add esp, 4
mov dword [esp + 0x78], eax
test esi, esi
je 0x43b06d
push 8
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
mov eax, edi
call fcn.0043a250
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
je 0x43b62b
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esp + 0x50]
sub esi, dword [ebp + 0xc]
sub ebx, dword [ebp + 0x10]
push eax
inc esi
inc ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x6c], edi
test edi, edi
je 0x43b62b
mov ecx, dword [esp + 0x50]
push ebx
push esi
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x18], eax
test eax, eax
je 0x43b62b
mov edx, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], eax
test eax, eax
je 0x43b62b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x50]
push 0xcc0020
push eax
push ecx
push edx
push ebx
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x43b62b
push 8
lea eax, [esp + 0x17]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
mov eax, edi
call fcn.0043a250
mov edi, eax
add esp, 0x14
mov dword [esp + 0x2c], edi
test edi, edi
je 0x43b62b
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x4c]
mov esi, ebx
imul esi, dword [esp + 0x68]
cmp byte [esp + 0x12], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], esi
jne 0x43b2ba
cmp byte [esp + 0x13], 0
je 0x43b2f4
cmp dword [esp + 0x30], 0xffffffff
je 0x43b2c9
and dword [esp + 0x30], 0xf8f8f8
xor eax, eax
test esi, esi
jle 0x43b2dc
nop
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, esi
jl 0x43b2d0
mov edx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
jle 0x43b309
and dword [edx + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x43b2e6
jmp 0x43b2f8
mov edx, dword [esp + 0x3c]
test ecx, ecx
jle 0x43b309
lea eax, [edx + 3]
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x43b300
cmp dword [esp + 0x14], 1
jge 0x43b43b
test esi, esi
jle 0x43b329
lea eax, [edi + 3]
mov ecx, esi
lea ecx, [ecx]
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x43b320
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test esi, esi
jle 0x43b615
mov ebx, dword [edx]
mov dword [esp + 0x58], ebx
lea ecx, [ecx]
mov edx, dword [esp + 0x2c]
lea edi, [ecx*4]
cmp dword [edi + edx], ebx
je 0x43b367
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43b35d
cmp dword [eax], 0
jne 0x43b367
cmp ebx, dword [esp + 0x30]
jne 0x43b429
mov eax, ecx
mov ecx, dword [esp + 0x38]
cdq
idiv ecx
mov esi, dword [esp + 0x68]
sub esi, eax
cmp dword [esp + 0x4c], esi
jg 0x43b421
sub ecx, edx
cmp dword [esp + 0x40], ecx
jg 0x43b421
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov byte [esp + 0x11], 1
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x54], ebx
jle 0x43b62b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
sub edx, eax
mov byte [esp + 0x11], 1
mov ecx, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x5c], edx
mov edi, edi
mov edx, dword [eax]
mov edi, dword [esp + 0x2c]
cmp dword [edi + esi*4], edx
je 0x43b3e2
cmp dword [esp + 0x34], 0
je 0x43b3dc
mov edi, dword [esp + 0x5c]
cmp dword [edi + eax], 0
jne 0x43b3e2
cmp edx, dword [esp + 0x30]
jne 0x43b418
inc ebx
cmp ebx, dword [esp + 0x40]
jge 0x43b3ec
inc esi
jmp 0x43b401
mov edx, dword [esp + 0x38]
lea esi, [edx*4]
add dword [esp + 0x48], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x28]
inc edx
add eax, 4
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x54]
jl 0x43b3c0
jmp 0x43b62b
mov ebx, dword [esp + 0x58]
mov byte [esp + 0x11], 0
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, esi
jl 0x43b340
jmp 0x43b615
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test esi, esi
jle 0x43b615
lea esp, [esp]
mov eax, ecx
cdq
idiv ebx
mov edi, dword [esp + 0x68]
sub edi, eax
cmp dword [esp + 0x4c], edi
jg 0x43b608
mov eax, ebx
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x43b608
mov esi, dword [esp + 0x1c]
xor eax, eax
mov byte [esp + 0x11], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x54], eax
jle 0x43b62b
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
lea ecx, [esi*4]
sub eax, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x58], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x5c], eax
movzx eax, byte [edi + 2]
mov cl, byte [edi + 1]
cmp dword [esp + 0x14], eax
jle 0x43b4c6
mov byte [esp + 0x12], 0
jmp 0x43b4d0
mov dl, al
sub dl, byte [esp + 0x14]
mov byte [esp + 0x12], dl
mov edx, dword [esp + 0x14]
movzx ebx, cl
mov dword [esp + 0x7c], ebx
cmp edx, ebx
jle 0x43b4e6
mov byte [esp + 0x26], 0
jmp 0x43b4ee
mov cl, bl
sub cl, dl
mov byte [esp + 0x26], cl
movzx edx, byte [edi]
cmp dword [esp + 0x14], edx
jle 0x43b4fe
mov byte [esp + 0x23], 0
jmp 0x43b50c
mov ebx, dword [esp + 0x7c]
mov cl, dl
sub cl, byte [esp + 0x14]
mov byte [esp + 0x23], cl
mov ecx, 0xff
sub ecx, eax
cmp dword [esp + 0x14], ecx
jle 0x43b520
mov byte [esp + 0x25], 0xff
jmp 0x43b52a
mov cl, byte [esp + 0x14]
add cl, al
mov byte [esp + 0x25], cl
mov ecx, dword [esp + 0x14]
mov eax, 0xff
sub eax, ebx
cmp ecx, eax
jle 0x43b540
mov byte [esp + 0x24], 0xff
jmp 0x43b547
lea eax, [ebx + ecx]
mov byte [esp + 0x24], al
mov eax, 0xff
sub eax, edx
cmp ecx, eax
jle 0x43b559
mov byte [esp + 0x13], 0xff
jmp 0x43b560
lea eax, [edx + ecx]
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x2c]
mov al, byte [edx + esi*4 + 2]
mov cl, byte [edx + esi*4 + 1]
mov dl, byte [edx + esi*4]
cmp al, byte [esp + 0x12]
jb 0x43b593
cmp al, byte [esp + 0x25]
ja 0x43b593
cmp cl, byte [esp + 0x26]
jb 0x43b593
cmp cl, byte [esp + 0x24]
ja 0x43b593
cmp dl, byte [esp + 0x23]
jb 0x43b593
cmp dl, byte [esp + 0x13]
jbe 0x43b5ac
cmp dword [esp + 0x34], 0
je 0x43b5a4
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + edi], 0
jne 0x43b5ac
mov edx, dword [esp + 0x30]
cmp dword [edi], edx
jne 0x43b5f7
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x40]
jge 0x43b5be
inc esi
jmp 0x43b5df
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x58]
lea ecx, [eax*4]
add dword [esp + 0x74], ecx
add esi, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x28]
inc eax
add edi, 4
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x54]
jl 0x43b4b2
jmp 0x43b62b
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
mov byte [esp + 0x11], 0
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, esi
jl 0x43b450
mov eax, dword [0x4cad6c]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6324
push eax
call fcn.00479370
mov ecx, dword [esp + 0x50]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x27], 0
jne 0x43b64a
mov edx, dword [esp + 0x78]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x43b669
mov eax, dword [esp + 0x70]
test eax, eax
je 0x43b662
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43b678
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43b689
push eax
call fcn.004904f1
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43b69a
push eax
call fcn.004904f1
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43b06d
push eax
call fcn.004904f1
add esp, 4
cmp byte [esp + 0x11], 0
jne 0x43b6c4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x43b6ed
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x38]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x64]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x43b714
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x38]
push 0x18
sub eax, dword [esp + 0x68]
add eax, dword [ebp + 0x10]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov eax, dword [0x4cad6c]
push 1
push 0
push 0xffffffffffffffff
push 0x4a3920
push eax
call fcn.00479370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 8]
push 0x4a3890
push 0
push 0x4a687c
call fcn.0042ff50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18