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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x4ae860]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x74], ecx
and ebx, dword [0x4ae864]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ebx
push esi
push edi
test eax, eax
je 0x436b23
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004744e0
test ebx, ebx
je 0x436b36
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004744e0
xor edx, edx
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], 0
call fcn.00472960
mov ecx, dword [esp + 0x64]
xor ebx, ebx
mov eax, dword [esp + 0x68]
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 + 0x44], 0xffffffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x30], 0
call fcn.0048695e
mov esi, eax
add esp, 8
test esi, esi
je 0x436be6
inc esi
push 0x4a1f50
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x436bd2
push 0x4a1f54
push esi
call fcn.00484212
add esp, 8
test eax, eax
je 0x436bd2
push 0x4a1f58
push esi
call fcn.00484212
add esp, 8
test eax, eax
jne 0x436be6
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov dword [esp + 0x2c], eax
call esi
mov ebx, eax
mov esi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x436bf2
cmp al, 9
jne 0x436bf5
inc esi
jmp 0x436be8
cmp byte [esi], 0x2a
jne 0x436e06
mov edi, edi
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.00486e4d
add esp, 4
cmp eax, 0x48
je 0x436d28
cmp eax, 0x57
je 0x436d1a
push 4
push str.Icon
push esi
call fcn.00484c8d
add esp, 0xc
test eax, eax
jne 0x436c47
add esi, 4
mov ecx, esi
call fcn.0040dd10
mov dword [esp + 0x48], eax
jmp 0x436d8d
push 5
push str.Trans
push esi
call fcn.00484c8d
add esp, 0xc
test eax, eax
jne 0x436ce9
push 0x1f
add esi, 5
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.00487600
add esp, 0xc
mov byte [esp + 0xbf], 0
mov edx, 0x49e8b4
lea ecx, [esp + 0xa0]
call fcn.00409840
test eax, eax
je 0x436c95
mov byte [eax], 0
lea ecx, [esp + 0xa0]
call fcn.004726e0
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x436cc5
push 0x10
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.004860e0
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x436d8d
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 + 0x3c], edx
jmp 0x436d8d
mov ecx, esi
call fcn.0040dd10
mov dword [esp + 0x10], eax
test eax, eax
jns 0x436d05
mov dword [esp + 0x10], 0
jmp 0x436d8d
cmp eax, 0xff
jle 0x436d8d
mov dword [esp + 0x10], 0xff
jmp 0x436d8d
lea ecx, [esi + 1]
call fcn.0040dd10
mov dword [esp + 0x28], eax
jmp 0x436d8d
lea edi, [esi + 1]
mov eax, edi
lea ecx, [ecx]
mov cl, byte [eax]
cmp cl, 0x20
je 0x436d3c
cmp cl, 9
jne 0x436d3f
inc eax
jmp 0x436d30
mov cl, byte [eax]
test cl, cl
je 0x436d82
cmp cl, 0x2d
je 0x436d4f
cmp cl, 0x2b
jne 0x436d50
inc eax
cmp byte [eax], 0x30
jne 0x436d82
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x436d62
cmp cl, 0x58
jne 0x436d82
movsx eax, byte [eax + 2]
push eax
call fcn.00485e8d
add esp, 4
test eax, eax
je 0x436d82
push 0x10
push 0
push edi
call fcn.004860e0
add esp, 0xc
jmp 0x436d8b
push edi
call fcn.00485ca0
add esp, 4
mov ebx, eax
test esi, esi
je 0x436db4
mov dl, byte [esi]
test dl, dl
je 0x436db4
mov ecx, 0x49e8b4
mov al, 0x20
mov edi, edi
cmp dl, al
je 0x436de5
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x436da0
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x436d97
mov eax, dword [0x4aa1d8]
test byte [eax + 0xe0], 1
jne 0x437535
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8e8
call fcn.004744e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edi, [esi + 1]
mov esi, edi
lea ebx, [ebx]
mov al, byte [esi]
cmp al, 0x20
je 0x436dfa
cmp al, 9
jne 0x436dfd
inc esi
jmp 0x436df0
cmp byte [esi], 0x2a
je 0x436c00
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x1b]
push 0
push eax
push 0
push dword [esp + 0x54]
lea eax, [esp + 0x34]
mov ecx, edi
push eax
push ebx
call fcn.00472b60
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x6c], ebx
test ebx, ebx
je 0x436db4
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x436e6b
cmp byte [esp + 0x1b], al
jne 0x436db4
cmp dword [esp + 0x24], 1
push ebx
jne 0x436e60
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x436db4
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x436db4
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
cmp dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x70], ecx
mov byte [esp + 0xd], cl
jne 0x436ef6
lea eax, [esp + 0x8c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x436ee1
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0xe]
push 1
push eax
lea eax, [esp + 0x58]
mov edx, esi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00436100
add esp, 0x10
mov dword [esp + 0x38], eax
push dword [esp + 0x9c]
call edi
push dword [esp + 0x98]
call edi
mov ecx, ebx
call fcn.00473520
mov ebx, eax
mov dword [esp + 0x6c], eax
test ebx, ebx
je 0x436db4
push 8
lea eax, [esp + 0x12]
mov edx, esi
push eax
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00436100
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
je 0x4374c5
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub ebx, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
inc ebx
push dword [esp + 0x4c]
inc esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4374c5
push esi
push ebx
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x48], eax
test eax, eax
je 0x4374c5
push eax
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4374c5
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x58]
push esi
push ebx
mov ebx, dword [esp + 0x40]
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x4374c5
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xf]
push 8
push eax
lea eax, [esp + 0x68]
mov edx, ebx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00436100
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4374c5
mov esi, dword [esp + 0x30]
mov ebx, esi
mov edi, dword [esp + 0x40]
imul edi, dword [esp + 0x50]
imul ebx, dword [esp + 0x60]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
jne 0x436ff7
cmp byte [esp + 0xf], 0
je 0x4370d4
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x437009
and eax, 0xf8f8f8
mov dword [esp + 0x3c], eax
xor ecx, ecx
test ebx, ebx
jle 0x43706c
cmp ebx, 8
jb 0x43705b
mov eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x437022
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [0x4a4380]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x1c]
movdqu xmm0, xmmword [eax]
add ecx, 8
lea eax, [eax + 0x20]
pand xmm0, xmm1
movdqu xmmword [eax - 0x20], xmm0
movdqu xmm0, xmmword [eax - 0x10]
pand xmm0, xmm1
movdqu xmmword [eax - 0x10], xmm0
cmp ecx, edx
jl 0x437032
mov edx, dword [esp + 0x1c]
cmp ecx, ebx
jge 0x43706c
nop
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, ebx
jl 0x437060
xor ecx, ecx
test edi, edi
jle 0x4370ea
cmp edi, 8
jb 0x4370ba
mov eax, edi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x437085
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [0x4a4380]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x14]
movdqu xmm0, xmmword [eax]
add ecx, 8
lea eax, [eax + 0x20]
pand xmm0, xmm1
movdqu xmmword [eax - 0x20], xmm0
movdqu xmm0, xmmword [eax - 0x10]
pand xmm0, xmm1
movdqu xmmword [eax - 0x10], xmm0
cmp ecx, edx
jl 0x437095
mov eax, dword [esp + 0x14]
cmp ecx, edi
jge 0x4370ce
and dword [eax + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edi
jl 0x4370c2
mov edx, dword [esp + 0x1c]
jmp 0x4370d8
mov eax, dword [esp + 0x14]
test edi, edi
jle 0x4370ea
add eax, 3
mov ecx, edi
mov byte [eax], 0
lea eax, [eax + 4]
dec ecx
jne 0x4370e1
cmp dword [esp + 0x10], 1
jge 0x4372c3
test ebx, ebx
jle 0x437109
lea eax, [edx + 3]
mov ecx, ebx
mov edi, edi
mov byte [eax], 0
lea eax, [eax + 4]
dec ecx
jne 0x437100
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x58], ebx
jle 0x43744c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
jmp 0x437130
lea eax, [ebx*4]
mov dword [esp + 0x24], eax
cmp dword [eax + edx], ecx
je 0x437157
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43714d
cmp dword [eax], 0
jne 0x437157
cmp ecx, dword [esp + 0x3c]
jne 0x4372af
mov eax, ebx
mov ecx, dword [esp + 0x60]
cdq
idiv esi
sub ecx, eax
cmp dword [esp + 0x50], ecx
jg 0x4372a7
mov eax, esi
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x4372a7
xor esi, esi
mov byte [esp + 0xd], 1
xor edi, edi
mov eax, ebx
mov dword [esp + 0x44], edi
cmp dword [esp + 0x54], esi
jle 0x4371fb
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
sub edx, ecx
mov byte [esp + 0xd], 1
mov dword [esp + 0x5c], edx
mov edi, dword [esp + 0x1c]
mov edx, dword [ecx]
cmp dword [edi + eax*4], edx
mov edi, dword [esp + 0x44]
je 0x4371ce
cmp dword [esp + 0x38], 0
je 0x4371c4
mov edx, dword [esp + 0x5c]
cmp dword [edx + ecx], 0
mov edx, dword [ecx]
jne 0x4371ce
cmp edx, dword [esp + 0x3c]
jne 0x43729a
inc esi
cmp esi, dword [esp + 0x40]
jge 0x4371d8
inc eax
jmp 0x4371ed
mov edx, dword [esp + 0x30]
xor esi, esi
lea eax, [edx*4]
add dword [esp + 0x24], eax
add ebx, edx
mov eax, ebx
inc edi
add ecx, 4
mov dword [esp + 0x44], edi
cmp edi, dword [esp + 0x54]
jl 0x4371a2
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
push dword [esp + 0x4c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x1b], 0
jne 0x437220
push dword [esp + 0x6c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x43723f
mov eax, dword [esp + 0x70]
test eax, eax
je 0x437238
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x43724e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x43725b
push edi
call fcn.004843d4
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43726c
push eax
call fcn.004843d4
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x436db4
push eax
call fcn.004843d4
add esp, 4
cmp byte [esp + 0xd], 0
jne 0x4374ce
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov byte [esp + 0xd], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x20], ebx
cmp ebx, dword [esp + 0x58]
jl 0x437130
jmp 0x43744c
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x58], ebx
jle 0x43744c
mov eax, ebx
mov ecx, dword [esp + 0x60]
cdq
idiv esi
sub ecx, eax
cmp dword [esp + 0x50], ecx
jg 0x43743d
mov eax, esi
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x43743d
xor ecx, ecx
mov byte [esp + 0xd], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], ebx
test edi, edi
jle 0x4371fb
mov eax, dword [esp + 0x14]
lea ecx, [ebx*4]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x74], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], ecx
lea ebx, [ebx]
mov cl, byte [eax + 2]
mov bl, byte [eax + 1]
mov ah, byte [eax]
movzx edx, cl
mov byte [esp + 0x37], ah
cmp dword [esp + 0x10], edx
jle 0x43735c
mov byte [esp + 0xe], 0
jmp 0x437366
mov al, cl
sub al, byte [esp + 0x10]
mov byte [esp + 0xe], al
movzx esi, bl
cmp dword [esp + 0x10], esi
jle 0x437376
mov byte [esp + 0xf], 0
jmp 0x437380
mov al, bl
sub al, byte [esp + 0x10]
mov byte [esp + 0xf], al
movzx edi, ah
cmp dword [esp + 0x10], edi
jle 0x43738d
xor bh, bh
jmp 0x437393
mov bh, ah
sub bh, byte [esp + 0x10]
mov eax, 0xff
sub eax, edx
mov edx, dword [esp + 0x10]
cmp edx, eax
jle 0x4373a7
or dh, 0xff
jmp 0x4373ab
mov dh, dl
add dh, cl
mov ecx, dword [esp + 0x10]
mov eax, 0xff
sub eax, esi
cmp ecx, eax
jle 0x4373bf
or ch, 0xff
jmp 0x4373c3
mov ch, cl
add ch, bl
mov eax, 0xff
sub eax, edi
cmp dword [esp + 0x10], eax
jle 0x4373d5
or dl, 0xff
jmp 0x4373dd
mov dl, byte [esp + 0x10]
add dl, byte [esp + 0x37]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov cl, byte [esi + edi*4 + 2]
mov al, byte [esi + edi*4 + 1]
mov bl, byte [esi + edi*4]
cmp cl, byte [esp + 0xe]
jb 0x43740c
cmp cl, dh
ja 0x43740c
cmp al, byte [esp + 0xf]
jb 0x43740c
cmp al, ch
ja 0x43740c
cmp bl, bh
jb 0x43740c
cmp bl, dl
jbe 0x437467
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x2c]
je 0x437424
mov ecx, dword [esp + 0x84]
cmp dword [ecx + eax], 0
jne 0x43746b
mov ecx, dword [esp + 0x3c]
cmp dword [eax], ecx
je 0x43746b
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
mov byte [esp + 0xd], 0
inc ebx
mov dword [esp + 0x20], ebx
cmp ebx, dword [esp + 0x58]
jl 0x4372d3
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49e628
call fcn.004744e0
jmp 0x4371fb
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
inc esi
mov dword [esp + 0x44], esi
cmp esi, dword [esp + 0x40]
jge 0x437481
inc edi
mov dword [esp + 0x24], edi
jmp 0x4374a6
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov edi, dword [esp + 0x74]
mov dword [esp + 0x44], ecx
lea ecx, [edx*4]
add dword [esp + 0x78], ecx
add edi, edx
mov ecx, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x5c]
add eax, 4
inc esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], esi
cmp esi, dword [esp + 0x54]
jl 0x437340
jmp 0x4371fb
mov esi, dword [esp + 0x7c]
jmp 0x437203
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x30]
test ecx, ecx
je 0x4374f5
mov eax, esi
cdq
idiv ebx
push 0x18
sub edx, dword [esp + 0x68]
add edx, dword [ebp + 8]
mov eax, edx
cdq
push edx
push eax
call fcn.00401330
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x437516
mov eax, esi
cdq
idiv ebx
push 0x18
sub eax, dword [esp + 0x6c]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
call fcn.00401330
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49bca8
call fcn.004744e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x7c]
push 0x49bc4d
push 0
push 0x49e8e8
call fcn.0042c8f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14