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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4e73b0]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x88], ecx
and ebx, dword [0x4e73b4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
push esi
push edi
test eax, eax
je 0x452649
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004a05c0
test ebx, ebx
je 0x45265c
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004a05c0
xorps xmm0, xmm0
lea edx, [esp + 0x80]
push 0
lea ecx, [esp + 0x80]
movlpd qword [esp + 0x80], xmm0
call fcn.0049d970
mov ecx, dword [esp + 0x80]
add esp, 4
mov eax, dword [esp + 0x80]
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 + 0x1c], 0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x452727
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esi, 2
push 0x4d7f90
push esi
call ebx
add esp, 8
test eax, eax
je 0x45270d
push 0x4d7f98
push esi
call ebx
add esp, 8
test eax, eax
je 0x45270d
push 0x4d7fa0
push esi
call ebx
add esp, 8
test eax, eax
jne 0x452727
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
mov ebx, eax
push 0x32
mov dword [esp + 0x1c], ebx
call esi
mov dword [esp + 0x28], eax
jmp 0x452729
xor ebx, ebx
mov esi, edi
nop dword [eax + eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45273d
cmp eax, 9
jne 0x452742
add esi, 2
jmp 0x452730
cmp eax, 0x2a
jne 0x4529d6
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
movzx eax, word [esi + 2]
add esi, 2
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x45290d
cmp eax, 0x57
je 0x4528e1
push 4
push str.Icon
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4527bf
add esi, 8
mov ecx, esi
call fcn.00404af0
test al, al
je 0x4527b3
push 0x10
push 0
push esi
call ebx
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x45293a
push esi
call edi
mov dword [esp + 0x40], eax
jmp 0x452937
push 5
push str.Trans
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4528a1
push 0x1f
add esi, 0xa
lea eax, [esp + 0x104]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
lea ebx, [esp + 0x10c]
mov word [esp + 0x14a], ax
add esp, 0xc
mov ax, word [esp + 0x100]
test ax, ax
je 0x45284c
movzx edi, ax
mov ecx, 0x4d049c
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x452843
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x452820
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x452810
jmp 0x45284c
test ebx, ebx
je 0x45284c
xor eax, eax
mov word [ebx], ax
lea ecx, [esp + 0x100]
call fcn.0049d7b0
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x45287f
push 0x10
lea eax, [esp + 0x104]
push 0
push eax
call ebx
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x45293a
movzx edx, cl
movzx eax, cx
shl edx, 8
shr eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x1c], edx
jmp 0x45293a
mov ecx, esi
call fcn.00404af0
test al, al
je 0x4528b8
push 0x10
push 0
push esi
call ebx
add esp, 0xc
jmp 0x4528be
push esi
call edi
add esp, 4
xor ebx, ebx
test eax, eax
cmovns ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xff
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
jle 0x45293a
mov dword [esp + 0x14], 0xff
jmp 0x45293a
lea edi, [esi + 2]
mov ecx, edi
call fcn.00404af0
test al, al
je 0x4528ff
push 0x10
push 0
push edi
call ebx
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x45293a
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push edi
call eax
mov dword [esp + 0x1c], eax
jmp 0x452937
lea edi, [esi + 2]
mov ecx, edi
call fcn.00404af0
test al, al
je 0x45292b
push 0x10
push 0
push edi
call ebx
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x45293a
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push edi
call eax
mov dword [esp + 0x2c], eax
add esp, 4
test esi, esi
je 0x452981
movzx eax, word [esi]
test ax, ax
je 0x452981
mov edi, eax
nop dword [eax + eax]
mov eax, 0x4d049c
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x4529b2
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x452960
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x452950
mov eax, dword [0x4e30fc]
test byte [eax + 0x100], 1
jne 0x453355
mov ecx, dword [0x4e5b90]
push 1
push 0
push 0xffffffffffffffff
push 0x4d04fc
call fcn.004a05c0
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 0x4529c4
cmp eax, 9
jne 0x4529c9
add esi, 2
jmp 0x4529b7
cmp eax, 0x2a
je 0x452751
mov ebx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x27]
mov edx, ebx
push eax
push 0
push dword [esp + 0x48]
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
push dword [esp + 0x3c]
call fcn.0049db60
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x452981
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x50], eax
test eax, eax
jne 0x452a40
cmp byte [esp + 0x23], al
jne 0x452981
cmp dword [esp + 0x2c], 1
push ebx
jne 0x452a35
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x452981
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x452981
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
cmp dword [esp + 0x2c], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x13], cl
jne 0x452c1e
lea eax, [esp + 0xd8]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x452ac8
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x22]
mov ecx, dword [esp + 0xe4]
push 1
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00451c10
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x10
mov dword [esp + 0x34], eax
push dword [esp + 0xe8]
call ebx
push dword [esp + 0xe4]
call ebx
xor ebx, ebx
push ebx
call esi
mov esi, eax
push esi
mov dword [esp + 0x6c], esi
call edi
mov edi, eax
test edi, edi
je 0x452bf5
lea eax, [esp + 0xec]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x452bee
lea eax, [esp + 0xc0]
push eax
push 0x18
push dword [esp + 0x104]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x452bd4
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x452bd4
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
test eax, eax
je 0x452bd4
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xc8]
push 0xff000000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc0], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0xb0]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 3
push 0
push 0
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0x3c]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x54]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x68]
push dword [esp + 0xfc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0xf8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x452981
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov eax, dword [esp + 0x50]
push 8
lea ecx, [esp + 0x26]
mov edx, eax
push ecx
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call fcn.00451c10
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x4532dc
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 + 0x50]
inc esi
call edi
mov edi, eax
mov dword [esp + 0x88], edi
test edi, edi
je 0x4532dc
push esi
push ebx
push dword [esp + 0x58]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x74], eax
test eax, eax
je 0x4532dc
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x4532dc
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x5c]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x4532dc
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x43]
push 8
push eax
lea eax, [esp + 0x74]
mov edx, edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00451c10
mov edx, eax
add esp, 0x10
mov dword [esp + 0x38], edx
test edx, edx
je 0x4532dc
mov ebx, dword [esp + 0x48]
mov eax, ebx
mov edi, dword [esp + 0x4c]
imul edi, dword [esp + 0x64]
imul eax, dword [esp + 0x6c]
cmp byte [esp + 0x22], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], eax
jne 0x452d1a
cmp byte [esp + 0x43], 0
je 0x452e56
mov eax, dword [esp + 0x1c]
mov esi, eax
and esi, 0xf8f8f8
cmp eax, 0xffffffff
cmove esi, eax
mov eax, dword [esp + 0x44]
xor ecx, ecx
test eax, eax
jle 0x452dbc
cmp eax, 0x10
jb 0x452dab
and eax, reloc.WSOCK32.dll_ntohs
jns 0x452d4b
dec eax
or eax, 0xfffffff0
inc eax
mov edx, dword [esp + 0x44]
movaps xmm2, xmmword [0x4dcbf0]
sub edx, eax
mov eax, dword [esp + 0x38]
add eax, 0x20
nop
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pand xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pand xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x30]
pand xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x452d60
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
cmp ecx, eax
jge 0x452dbc
nop
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, eax
jl 0x452db0
xor ecx, ecx
mov edx, esi
mov dword [esp + 0x1c], edx
test edi, edi
jle 0x452e72
cmp edi, 0x10
jb 0x452e34
mov eax, edi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x452ddf
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4dcbf0]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x30]
add eax, 0x20
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pand xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pand xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x30]
pand xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x452df1
mov eax, dword [esp + 0x30]
mov edx, esi
mov dword [esp + 0x1c], edx
cmp ecx, edi
jge 0x452e5e
and dword [eax + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edi
jl 0x452e42
mov edx, esi
mov dword [esp + 0x1c], edx
jmp 0x452e5e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
test edi, edi
jle 0x452e72
add eax, 3
mov ecx, edi
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x452e67
cmp dword [esp + 0x14], 1
jge 0x452fdb
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x452e9b
mov eax, dword [esp + 0x38]
mov ecx, esi
add eax, 3
nop
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x452e90
xor edi, edi
mov dword [esp + 0x24], edi
test esi, esi
jle 0x4532bc
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [eax]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, dword [esp + 0x38]
cmp dword [esi + ecx], eax
je 0x452ede
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x452ed6
cmp dword [ecx], 0
jne 0x452ede
cmp eax, edx
jne 0x452fc0
mov eax, edi
mov ecx, dword [esp + 0x6c]
cdq
idiv ebx
sub ecx, eax
cmp dword [esp + 0x64], ecx
jg 0x452fb8
mov eax, ebx
sub eax, edx
cmp dword [esp + 0x4c], eax
jg 0x452fb8
xor edx, edx
mov byte [esp + 0x13], 1
xor ebx, ebx
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x3c], edx
jle 0x4531fe
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov eax, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x30]
sub esi, ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x54], esi
nop dword [eax]
mov ebx, dword [esp + 0x38]
mov esi, dword [esi + ecx]
cmp dword [eax + ebx], esi
mov ebx, dword [esp + 0x58]
je 0x452f62
cmp dword [esp + 0x34], 0
je 0x452f5c
cmp dword [ecx], 0
jne 0x452f62
cmp esi, dword [esp + 0x1c]
jne 0x452fac
inc edx
cmp edx, dword [esp + 0x4c]
jge 0x452f6f
inc edi
add eax, 4
jmp 0x452f94
mov edi, dword [esp + 0x48]
xor edx, edx
mov esi, dword [esp + 0x2c]
lea eax, [edi*4]
add esi, eax
mov eax, dword [esp + 0x5c]
add eax, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x5c], eax
mov edi, eax
mov eax, esi
inc ebx
add ecx, 4
mov dword [esp + 0x58], ebx
cmp ebx, dword [esp + 0x3c]
jge 0x4531fe
mov esi, dword [esp + 0x54]
jmp 0x452f40
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc edi
add esi, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
cmp edi, dword [esp + 0x44]
jl 0x452ec0
jmp 0x4532bc
xor edi, edi
mov dword [esp + 0x24], edi
cmp dword [esp + 0x44], edi
jle 0x4532bc
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, edi
mov ecx, dword [esp + 0x6c]
cdq
idiv ebx
sub ecx, eax
cmp dword [esp + 0x64], ecx
jg 0x4532a6
mov eax, ebx
sub eax, edx
cmp dword [esp + 0x4c], eax
jg 0x4532a6
xor eax, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
cmp dword [esp + 0x3c], eax
jle 0x4531fe
mov edx, dword [esp + 0x30]
lea eax, [ebx*4]
mov ecx, dword [esp + 0x2c]
mov esi, edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
sub eax, edx
mov byte [esp + 0x13], 1
mov dword [esp + 0x68], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0xac], eax
nop word [eax + eax]
movzx eax, word [esi]
mov dh, byte [esi + 2]
mov ebx, eax
mov dword [esp + 0x18], eax
mov al, dh
sub al, byte [esp + 0x14]
shr ebx, 8
movzx eax, al
mov dword [esp + 0x60], ebx
xor ebx, ebx
movzx ecx, dh
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x70], 0
cmovle ebx, eax
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x60]
mov al, bl
sub al, byte [esp + 0x14]
movzx edi, bl
cmp dword [esp + 0x14], edi
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x70]
movzx eax, al
cmovle edi, eax
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], edi
movzx edi, al
sub al, byte [esp + 0x14]
cmp dword [esp + 0x14], edi
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0x60]
movzx eax, al
cmovle edi, eax
mov eax, 0xff
sub eax, ecx
mov dword [esp + 0x60], edi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x94]
cmp ecx, eax
jle 0x453114
or dh, 0xff
jmp 0x453116
add dh, cl
mov eax, 0xff
sub eax, edi
cmp ecx, eax
jle 0x453126
or bl, 0xff
jmp 0x453128
add bl, cl
mov eax, 0xff
sub eax, dword [esp + 0x98]
cmp ecx, eax
jle 0x45313f
mov byte [esp + 0x18], 0xff
jmp 0x453143
add byte [esp + 0x18], cl
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x5c]
mov dl, byte [edi + eax + 2]
movzx ecx, word [edi + eax]
mov eax, ecx
shr eax, 8
cmp dl, byte [esp + 0x9c]
jb 0x45317d
cmp dl, dh
ja 0x45317d
cmp al, byte [esp + 0x70]
jb 0x45317d
cmp al, bl
ja 0x45317d
cmp cl, byte [esp + 0x60]
jb 0x45317d
mov eax, dword [esp + 0x18]
cmp cl, al
jbe 0x45319d
cmp dword [esp + 0x34], 0
je 0x453191
mov eax, dword [esp + 0xac]
cmp dword [eax + esi], 0
jne 0x45319d
mov eax, dword [esp + 0x1c]
cmp dword [esi], eax
jne 0x45329a
mov eax, dword [esp + 0x78]
inc eax
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x4c]
jge 0x4531b9
inc dword [esp + 0x58]
add edi, 4
mov dword [esp + 0x5c], edi
jmp 0x4531e8
mov ecx, dword [esp + 0x84]
xor eax, eax
add ecx, dword [esp + 0xa0]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x54]
add esi, 4
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x3c]
jl 0x453070
mov ebx, dword [esp + 0x24]
push dword [esp + 0x50]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x23], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
jne 0x453221
push dword [esp + 0x28]
call edi
mov esi, dword [esp + 0x88]
test esi, esi
je 0x453246
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x45323f
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x453251
push eax
call edi
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x453265
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x453273
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x452981
push eax
call esi
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x4532e8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
inc edi
add esi, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
cmp edi, dword [esp + 0x44]
jl 0x452ff1
mov ecx, dword [0x4e5b90]
push 1
push 0
push 0xffffffffffffffff
push 0x4cffc4
call fcn.004a05c0
mov byte [esp + 0x13], 0
jmp 0x4531fe
mov ebx, dword [esp + 0x90]
jmp 0x453202
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x48]
test ecx, ecx
je 0x453312
mov eax, ebx
cdq
idiv esi
push 0x18
sub edx, dword [esp + 0x80]
add edx, dword [ebp + 8]
mov eax, edx
cdq
push edx
push eax
call fcn.00401510
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x453336
mov eax, ebx
cdq
idiv esi
push 0x18
sub eax, dword [esp + 0x84]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
call fcn.00401510
mov ecx, dword [0x4e5b90]
push 1
push 0
push 0xffffffffffffffff
push 0x4b9cc4
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x90]
push 0x4b9c10
push 0
push 0x4d04fc
call fcn.00447640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14