Function at 0x453c20
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 [0x4e7de0]
mov al, 1
cmp al, byte [edx + 1]
push ebx
push esi
sbb esi, esi
and esi, dword [0x4e7de4]
push edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
test ecx, ecx
je 0x453c5c
call fcn.004269a0
test esi, esi
je 0x453c67
mov ecx, esi
call fcn.004269a0
mov eax, dword [0x4e4b24]
movzx edi, word [eax + 0xf0]
xor ebx, ebx
xor esi, esi
and edi, 3
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
cmp edi, 2
je 0x453cef
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x14], eax
test eax, eax
je 0x453cef
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x453cef
test edi, edi
jne 0x453cb8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x453cd8
mov edx, dword [esp + 0x14]
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 0x453cef
add ebx, dword [esp + 0x7c]
add esi, dword [esp + 0x80]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
add dword [ebp + 0xc], ebx
add dword [ebp + 0x10], esi
add dword [ebp + 0x14], ebx
add dword [ebp + 0x18], esi
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
push 0x2e
push eax
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x453d76
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
add edi, 2
push 0x4da060
push edi
call esi
add esp, 8
test eax, eax
je 0x453d60
push 0x4da068
push edi
call esi
add esp, 8
test eax, eax
je 0x453d60
push 0x4da070
push edi
call esi
add esp, 8
test eax, eax
jne 0x453d76
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x1c]
mov edi, ecx
jmp 0x453d80
movzx eax, word [edi]
cmp eax, 0x20
je 0x453d8d
cmp eax, 9
jne 0x453d92
add edi, 2
jmp 0x453d80
cmp word [edi], 0x2a
jne 0x454041
mov esi, dword [sym.imp.MSVCR100.dll_wcstol]
movzx ecx, word [edi + 2]
mov ebx, dword [sym.imp.MSVCR100.dll__wcsnicmp]
add edi, 2
push ecx
call dword [sym.imp.MSVCR100.dll_towupper]
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x453f3a
cmp eax, 0x57
je 0x453f0c
push 4
push str.Icon
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x453e10
add edi, 8
mov eax, edi
call fcn.00403d70
test al, al
je 0x453e00
push 0x10
push 0
push edi
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x453fab
push edi
call dword [sym.imp.MSVCR100.dll__wtoi]
mov dword [esp + 0x18], eax
jmp 0x453fa8
push 5
push str.Trans
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x453eba
push 0x1f
add edi, 0xa
lea edx, [esp + 0xac]
push edi
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
xor eax, eax
mov word [esp + 0xf2], ax
add esp, 0xc
mov ebx, 0x4bfcf4
lea eax, [esp + 0xa8]
call fcn.00405590
test eax, eax
je 0x453e60
xor ecx, ecx
mov word [eax], cx
lea esi, [esp + 0xa8]
call fcn.0049f770
cmp eax, 0xffffffff
jne 0x453e90
push 0x10
mov edx, esi
push 0
push edx
call dword [sym.imp.MSVCR100.dll_wcstol]
mov esi, dword [sym.imp.MSVCR100.dll_wcstol]
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x453fab
mov esi, dword [sym.imp.MSVCR100.dll_wcstol]
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 + 0x34], ecx
jmp 0x453fab
mov eax, edi
call fcn.00403d70
test al, al
je 0x453ed5
push 0x10
push 0
push edi
call esi
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x453ee3
push edi
call dword [sym.imp.MSVCR100.dll__wtoi]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jns 0x453ef4
mov dword [esp + 0x10], 0
jmp 0x453fab
cmp eax, 0xff
jle 0x453fab
mov dword [esp + 0x10], 0xff
jmp 0x453fab
lea ebx, [edi + 2]
mov eax, ebx
call fcn.00403d70
test al, al
je 0x453f2d
push 0x10
push 0
push ebx
call esi
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x453fab
push ebx
call dword [sym.imp.MSVCR100.dll__wtoi]
mov dword [esp + 0x20], eax
jmp 0x453fa8
lea ebx, [edi + 2]
mov eax, ebx
nop
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x453f4d
cmp ecx, 9
jne 0x453f52
add eax, 2
jmp 0x453f40
movzx ecx, word [eax]
test cx, cx
je 0x453f9d
cmp ecx, 0x2d
je 0x453f64
cmp ecx, 0x2b
jne 0x453f67
add eax, 2
cmp word [eax], 0x30
jne 0x453f9d
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x453f7b
cmp ecx, 0x58
jne 0x453f9d
movzx ecx, word [eax + 4]
push ecx
call dword [sym.imp.MSVCR100.dll_isxdigit]
add esp, 4
test eax, eax
je 0x453f9d
push 0x10
push 0
push ebx
call esi
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x453fab
push ebx
call dword [sym.imp.MSVCR100.dll__wtoi]
mov dword [esp + 0x2c], eax
add esp, 4
test edi, edi
je 0x453fed
movzx eax, word [edi]
test ax, ax
je 0x453fed
jmp 0x453fc0
movzx edx, ax
mov ecx, 0x4bfcf4
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x454020
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x453fd0
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x453fc0
mov ecx, dword [0x4e4b24]
test byte [ecx + 0x100], 1
jne 0x4546c4
mov edx, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
push 0x4bfd54
push edx
call fcn.004a2810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [edi + 2]
mov edi, ecx
movzx eax, word [edi]
cmp eax, 0x20
je 0x454032
cmp eax, 9
jne 0x454037
add edi, 2
jmp 0x454025
cmp word [edi], 0x2a
je 0x453da2
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x26]
push edx
push 0
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x30]
push eax
push edx
push ecx
call fcn.0049fbe0
mov edi, eax
add esp, 0x20
mov dword [esp + 0x6c], edi
test edi, edi
je 0x453fed
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [esp + 0x50], ebx
test ebx, ebx
jne 0x4540af
cmp byte [esp + 0x22], al
jne 0x453fed
cmp dword [esp + 0x2c], 1
push edi
jne 0x4540a4
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x453fed
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x453fed
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
cmp dword [esp + 0x2c], 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0xd], al
jne 0x45413b
lea eax, [esp + 0x94]
push eax
push edi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x454124
push 1
lea ecx, [esp + 0x12]
push ecx
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
mov eax, ebx
call fcn.004532e0
mov edx, dword [esp + 0xb8]
add esp, 0x14
push edx
mov dword [esp + 0x3c], eax
call esi
mov eax, dword [esp + 0xa0]
push eax
call esi
push edi
call fcn.004a0520
mov edi, eax
add esp, 4
mov dword [esp + 0x6c], eax
test edi, edi
je 0x453fed
push 8
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
push edi
mov eax, ebx
call fcn.004532e0
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
je 0x454397
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x50]
sub edi, dword [ebp + 0xc]
sub ebx, dword [ebp + 0x10]
push ecx
inc edi
inc ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x74], esi
test esi, esi
je 0x454397
mov edx, dword [esp + 0x50]
push ebx
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x14], eax
test eax, eax
je 0x454397
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], eax
test eax, eax
je 0x454397
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x50]
push 0xcc0020
push ecx
push edx
push eax
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x454397
push 8
lea ecx, [esp + 0x13]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
mov eax, esi
call fcn.004532e0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x1c], edi
test edi, edi
je 0x454397
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
imul ecx, dword [esp + 0x48]
imul edx, dword [esp + 0x64]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], edx
jne 0x454234
cmp byte [esp + 0xf], 0
je 0x454274
cmp dword [esp + 0x34], 0xffffffff
je 0x454243
and dword [esp + 0x34], 0xf8f8f8
xor eax, eax
test edx, edx
jle 0x45425c
lea esp, [esp]
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, edx
jl 0x454250
mov esi, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
jle 0x454289
and dword [esi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x454266
jmp 0x454278
mov esi, dword [esp + 0x3c]
test ecx, ecx
jle 0x454289
lea eax, [esi + 3]
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x454280
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jge 0x454459
test edx, edx
jle 0x4542a9
lea eax, [edi + 3]
mov ecx, edx
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4542a0
xor edi, edi
mov dword [esp + 0x24], edi
test edx, edx
jle 0x45463d
mov ebx, dword [esi]
mov dword [esp + 0x54], ebx
lea ecx, [ecx]
mov edx, dword [esp + 0x1c]
lea esi, [edi*4]
cmp dword [esi + edx], ebx
je 0x4542e7
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4542dd
cmp dword [eax], 0
jne 0x4542e7
cmp ebx, dword [esp + 0x34]
jne 0x454445
mov ecx, dword [esp + 0x30]
mov eax, edi
cdq
idiv ecx
mov edi, dword [esp + 0x64]
sub edi, eax
cmp dword [esp + 0x48], edi
jg 0x454441
sub ecx, edx
cmp dword [esp + 0x40], ecx
jg 0x454441
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov byte [esp + 0xd], 1
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x44], ebx
jle 0x45439b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub edx, eax
mov byte [esp + 0xd], 1
mov ecx, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], edx
lea ebx, [ebx]
mov edx, dword [eax]
mov esi, dword [esp + 0x1c]
cmp dword [esi + edi*4], edx
je 0x454366
cmp dword [esp + 0x38], 0
je 0x45435c
mov esi, dword [esp + 0x58]
cmp dword [esi + eax], 0
jne 0x454366
cmp edx, dword [esp + 0x34]
jne 0x454438
inc ebx
cmp ebx, dword [esp + 0x40]
jge 0x454370
inc edi
jmp 0x454385
mov edx, dword [esp + 0x30]
lea esi, [edx*4]
add dword [esp + 0x2c], esi
xor ebx, ebx
add ecx, edx
mov edi, ecx
mov edx, dword [esp + 0x28]
inc edx
add eax, 4
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x44]
jl 0x454340
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x22], 0
jne 0x4543ba
mov ecx, dword [esp + 0x6c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x74]
test esi, esi
je 0x4543d9
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4543d2
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4543e8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.MSVCR100.dll_free]
test eax, eax
je 0x4543fc
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45440a
push eax
call esi
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x453fed
mov edx, dword [esp + 0x1c]
push edx
call esi
add esp, 4
cmp byte [esp + 0xd], 0
jne 0x454659
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [esp + 0x54]
mov byte [esp + 0xd], 0
mov edi, dword [esp + 0x24]
inc edi
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x4c]
jl 0x4542c0
jmp 0x45463d
xor edi, edi
mov dword [esp + 0x24], edi
test edx, edx
jle 0x45463d
mov eax, edi
cdq
idiv dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
sub ecx, eax
cmp dword [esp + 0x48], ecx
jg 0x45462e
mov eax, dword [esp + 0x30]
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x45462e
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x44], eax
jle 0x45439b
mov eax, dword [esp + 0x38]
lea ecx, [edi*4]
sub eax, esi
mov byte [esp + 0xd], 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], eax
lea esp, [esp]
movzx eax, byte [esi + 2]
mov dl, byte [esi + 1]
cmp ebx, eax
jle 0x4544e2
mov byte [esp + 0xe], 0
jmp 0x4544ea
mov cl, al
sub cl, bl
mov byte [esp + 0xe], cl
movzx edx, dl
mov dword [esp + 0x7c], edx
cmp ebx, edx
jle 0x4544fc
mov byte [esp + 0x1b], 0
jmp 0x45450a
mov ebx, dword [esp + 0x10]
mov cl, dl
sub cl, byte [esp + 0x10]
mov byte [esp + 0x1b], cl
movzx ecx, byte [esi]
cmp ebx, ecx
jle 0x454518
mov byte [esp + 0x19], 0
jmp 0x454526
mov dl, cl
sub dl, byte [esp + 0x10]
mov byte [esp + 0x19], dl
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x10]
mov edi, 0xff
sub edi, eax
cmp ebx, edi
jle 0x454540
mov eax, 0xff
mov byte [esp + 0x23], al
jmp 0x45454b
add al, bl
mov byte [esp + 0x23], al
mov eax, 0xff
mov edi, eax
sub edi, edx
cmp ebx, edi
jle 0x454559
mov byte [esp + 0x1a], al
jmp 0x45455f
add dl, bl
mov byte [esp + 0x1a], dl
mov edx, eax
sub edx, ecx
cmp ebx, edx
jle 0x45456d
mov byte [esp + 0xf], al
jmp 0x454573
add cl, bl
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov cl, byte [eax + edi*4 + 2]
mov dl, byte [eax + edi*4 + 1]
mov al, byte [eax + edi*4]
cmp cl, byte [esp + 0xe]
jb 0x4545aa
cmp cl, byte [esp + 0x23]
ja 0x4545aa
cmp dl, byte [esp + 0x1b]
jb 0x4545aa
cmp dl, byte [esp + 0x1a]
ja 0x4545aa
cmp al, byte [esp + 0x19]
jb 0x4545aa
cmp al, byte [esp + 0xf]
jbe 0x4545c3
cmp dword [esp + 0x38], 0
je 0x4545bb
mov eax, dword [esp + 0x58]
cmp dword [esi + eax], 0
jne 0x4545c3
mov ecx, dword [esp + 0x34]
cmp dword [esi], ecx
jne 0x45461d
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0x40]
jge 0x4545d9
inc edi
mov dword [esp + 0x2c], edi
jmp 0x4545fe
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
add dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x28]
inc eax
add esi, 4
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x44]
jge 0x454397
mov ebx, dword [esp + 0x10]
jmp 0x4544d0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov byte [esp + 0xd], 0
inc edi
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x4c]
jl 0x454467
mov edx, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf81c
push edx
call fcn.004a2810
jmp 0x45439b
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x454680
mov eax, edi
cdq
idiv dword [esp + 0x30]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x60]
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 0x4546a5
mov eax, edi
cdq
idiv dword [esp + 0x30]
push 0x18
sub eax, dword [esp + 0x64]
add eax, dword [ebp + 0x10]
cdq
push edx
push eax
mov eax, ecx
call fcn.004010e0
mov eax, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
push 0x4bbb9c
push eax
call fcn.004a2810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [ebp + 8]
push 0x4bd2c4
push 0
push 0x4bfd54
call fcn.00449890
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18