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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x4b0840]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x74], ecx
and ebx, dword [0x4b0844]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ebx
push esi
push edi
test eax, eax
je 0x438003
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004759c0
test ebx, ebx
je 0x438016
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004759c0
xor edx, edx
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], 0
call fcn.00473e40
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.00487e3e
mov esi, eax
add esp, 8
test esi, esi
je 0x4380c6
inc esi
push 0x4a4340
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x4380b2
push 0x4a4344
push esi
call fcn.004855c8
add esp, 8
test eax, eax
je 0x4380b2
push 0x4a4348
push esi
call fcn.004855c8
add esp, 8
test eax, eax
jne 0x4380c6
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 0x4380d2
cmp al, 9
jne 0x4380d5
inc esi
jmp 0x4380c8
cmp byte [esi], 0x2a
jne 0x4382e6
mov edi, edi
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0048832d
add esp, 4
cmp eax, 0x48
je 0x438208
cmp eax, 0x57
je 0x4381fa
push 4
push str.Icon
push esi
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x438127
add esi, 4
mov ecx, esi
call fcn.0040ee90
mov dword [esp + 0x48], eax
jmp 0x43826d
push 5
push str.Trans
push esi
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x4381c9
push 0x1f
add esi, 5
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.00488ae0
add esp, 0xc
mov byte [esp + 0xbf], 0
mov edx, 0x4a0c84
lea ecx, [esp + 0xa0]
call fcn.0040a9c0
test eax, eax
je 0x438175
mov byte [eax], 0
lea ecx, [esp + 0xa0]
call fcn.00473bc0
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4381a5
push 0x10
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.004875c0
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x43826d
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 0x43826d
mov ecx, esi
call fcn.0040ee90
mov dword [esp + 0x10], eax
test eax, eax
jns 0x4381e5
mov dword [esp + 0x10], 0
jmp 0x43826d
cmp eax, 0xff
jle 0x43826d
mov dword [esp + 0x10], 0xff
jmp 0x43826d
lea ecx, [esi + 1]
call fcn.0040ee90
mov dword [esp + 0x28], eax
jmp 0x43826d
lea edi, [esi + 1]
mov eax, edi
lea ecx, [ecx]
mov cl, byte [eax]
cmp cl, 0x20
je 0x43821c
cmp cl, 9
jne 0x43821f
inc eax
jmp 0x438210
mov cl, byte [eax]
test cl, cl
je 0x438262
cmp cl, 0x2d
je 0x43822f
cmp cl, 0x2b
jne 0x438230
inc eax
cmp byte [eax], 0x30
jne 0x438262
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x438242
cmp cl, 0x58
jne 0x438262
movsx eax, byte [eax + 2]
push eax
call fcn.0048736d
add esp, 4
test eax, eax
je 0x438262
push 0x10
push 0
push edi
call fcn.004875c0
add esp, 0xc
jmp 0x43826b
push edi
call fcn.00487180
add esp, 4
mov ebx, eax
test esi, esi
je 0x438294
mov dl, byte [esi]
test dl, dl
je 0x438294
mov ecx, 0x4a0c84
mov al, 0x20
mov edi, edi
cmp dl, al
je 0x4382c5
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x438280
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x438277
mov eax, dword [0x4ac1d8]
test byte [eax + 0xe0], 1
jne 0x438a15
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x4a0cb8
call fcn.004759c0
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 0x4382da
cmp al, 9
jne 0x4382dd
inc esi
jmp 0x4382d0
cmp byte [esi], 0x2a
je 0x4380e0
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.00474040
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x6c], ebx
test ebx, ebx
je 0x438294
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x43834b
cmp byte [esp + 0x1b], al
jne 0x438294
cmp dword [esp + 0x24], 1
push ebx
jne 0x438340
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x438294
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x438294
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 0x4383d6
lea eax, [esp + 0x8c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4383c1
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.004375e0
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.00474a00
mov ebx, eax
mov dword [esp + 0x6c], eax
test ebx, ebx
je 0x438294
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.004375e0
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
je 0x4389a5
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 0x4389a5
push esi
push ebx
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x48], eax
test eax, eax
je 0x4389a5
push eax
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4389a5
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 0x4389a5
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.004375e0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4389a5
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 0x4384d7
cmp byte [esp + 0xf], 0
je 0x4385b4
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x4384e9
and eax, 0xf8f8f8
mov dword [esp + 0x3c], eax
xor ecx, ecx
test ebx, ebx
jle 0x43854c
cmp ebx, 8
jb 0x43853b
mov eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x438502
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [0x4a6770]
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 0x438512
mov edx, dword [esp + 0x1c]
cmp ecx, ebx
jge 0x43854c
nop
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, ebx
jl 0x438540
xor ecx, ecx
test edi, edi
jle 0x4385ca
cmp edi, 8
jb 0x43859a
mov eax, edi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x438565
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [0x4a6770]
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 0x438575
mov eax, dword [esp + 0x14]
cmp ecx, edi
jge 0x4385ae
and dword [eax + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edi
jl 0x4385a2
mov edx, dword [esp + 0x1c]
jmp 0x4385b8
mov eax, dword [esp + 0x14]
test edi, edi
jle 0x4385ca
add eax, 3
mov ecx, edi
mov byte [eax], 0
lea eax, [eax + 4]
dec ecx
jne 0x4385c1
cmp dword [esp + 0x10], 1
jge 0x4387a3
test ebx, ebx
jle 0x4385e9
lea eax, [edx + 3]
mov ecx, ebx
mov edi, edi
mov byte [eax], 0
lea eax, [eax + 4]
dec ecx
jne 0x4385e0
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x58], ebx
jle 0x43892c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
jmp 0x438610
lea eax, [ebx*4]
mov dword [esp + 0x24], eax
cmp dword [eax + edx], ecx
je 0x438637
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43862d
cmp dword [eax], 0
jne 0x438637
cmp ecx, dword [esp + 0x3c]
jne 0x43878f
mov eax, ebx
mov ecx, dword [esp + 0x60]
cdq
idiv esi
sub ecx, eax
cmp dword [esp + 0x50], ecx
jg 0x438787
mov eax, esi
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x438787
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 0x4386db
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 0x4386ae
cmp dword [esp + 0x38], 0
je 0x4386a4
mov edx, dword [esp + 0x5c]
cmp dword [edx + ecx], 0
mov edx, dword [ecx]
jne 0x4386ae
cmp edx, dword [esp + 0x3c]
jne 0x43877a
inc esi
cmp esi, dword [esp + 0x40]
jge 0x4386b8
inc eax
jmp 0x4386cd
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 0x438682
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 0x438700
push dword [esp + 0x6c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x43871f
mov eax, dword [esp + 0x70]
test eax, eax
je 0x438718
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 0x43872e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x43873b
push edi
call fcn.004858b4
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43874c
push eax
call fcn.004858b4
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x438294
push eax
call fcn.004858b4
add esp, 4
cmp byte [esp + 0xd], 0
jne 0x4389ae
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 0x438610
jmp 0x43892c
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x58], ebx
jle 0x43892c
mov eax, ebx
mov ecx, dword [esp + 0x60]
cdq
idiv esi
sub ecx, eax
cmp dword [esp + 0x50], ecx
jg 0x43891d
mov eax, esi
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x43891d
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 0x4386db
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 0x43883c
mov byte [esp + 0xe], 0
jmp 0x438846
mov al, cl
sub al, byte [esp + 0x10]
mov byte [esp + 0xe], al
movzx esi, bl
cmp dword [esp + 0x10], esi
jle 0x438856
mov byte [esp + 0xf], 0
jmp 0x438860
mov al, bl
sub al, byte [esp + 0x10]
mov byte [esp + 0xf], al
movzx edi, ah
cmp dword [esp + 0x10], edi
jle 0x43886d
xor bh, bh
jmp 0x438873
mov bh, ah
sub bh, byte [esp + 0x10]
mov eax, 0xff
sub eax, edx
mov edx, dword [esp + 0x10]
cmp edx, eax
jle 0x438887
or dh, 0xff
jmp 0x43888b
mov dh, dl
add dh, cl
mov ecx, dword [esp + 0x10]
mov eax, 0xff
sub eax, esi
cmp ecx, eax
jle 0x43889f
or ch, 0xff
jmp 0x4388a3
mov ch, cl
add ch, bl
mov eax, 0xff
sub eax, edi
cmp dword [esp + 0x10], eax
jle 0x4388b5
or dl, 0xff
jmp 0x4388bd
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 0x4388ec
cmp cl, dh
ja 0x4388ec
cmp al, byte [esp + 0xf]
jb 0x4388ec
cmp al, ch
ja 0x4388ec
cmp bl, bh
jb 0x4388ec
cmp bl, dl
jbe 0x438947
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x2c]
je 0x438904
mov ecx, dword [esp + 0x84]
cmp dword [ecx + eax], 0
jne 0x43894b
mov ecx, dword [esp + 0x3c]
cmp dword [eax], ecx
je 0x43894b
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 0x4387b3
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x4a09f8
call fcn.004759c0
jmp 0x4386db
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
inc esi
mov dword [esp + 0x44], esi
cmp esi, dword [esp + 0x40]
jge 0x438961
inc edi
mov dword [esp + 0x24], edi
jmp 0x438986
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 0x438820
jmp 0x4386db
mov esi, dword [esp + 0x7c]
jmp 0x4386e3
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x30]
test ecx, ecx
je 0x4389d5
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.00402370
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4389f6
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.00402370
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x49e080
call fcn.004759c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x7c]
push 0x49e065
push 0
push 0x4a0cb8
call fcn.0042ddd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14