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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x4fd110]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x8c], ecx
and ebx, dword [0x4fd114]
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], ebx
push esi
push edi
test eax, eax
je 0x459906
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b01a0
test ebx, ebx
je 0x459919
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004b01a0
xorps xmm0, xmm0
lea edx, [esp + 0x74]
push 0
lea ecx, [esp + 0x74]
movlpd qword [esp + 0x74], xmm0
call fcn.004acce0
mov eax, dword [esp + 0x74]
add esp, 4
mov ecx, dword [esp + 0x74]
xor ebx, ebx
mov edi, dword [ebp + 0x18]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
add dword [ebp + 0x10], eax
add dword [ebp + 0x14], ecx
push 0x2e
push edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call fcn.004c7059
mov esi, eax
add esp, 8
test esi, esi
je 0x4599cd
inc esi
push 0x4ee788
push esi
call fcn.004c408e
add esp, 8
test eax, eax
je 0x4599b5
push 0x4ea7c0
push esi
call fcn.004c408e
add esp, 8
test eax, eax
je 0x4599b5
push 0x4ee78c
push esi
call fcn.004c408e
add esp, 8
test eax, eax
jne 0x4599cd
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
mov ebx, eax
push 0x32
mov dword [esp + 0x20], ebx
call esi
mov dword [esp + 0x28], eax
mov esi, edi
nop
mov al, byte [esi]
cmp al, 0x20
je 0x4599da
cmp al, 9
jne 0x4599dd
inc esi
jmp 0x4599d0
cmp al, 0x2a
jne 0x459d15
movsx eax, byte [esi + 1]
mov edi, esi
inc esi
push eax
call fcn.004cc965
add esp, 4
cmp eax, 0x48
je 0x459c33
cmp eax, 0x57
je 0x459bc8
push 4
push str.Icon
push esi
call fcn.004c4e4b
add esp, 0xc
test eax, eax
jne 0x459a85
lea esi, [edi + 5]
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x459a2a
cmp al, 9
jne 0x459a2d
inc ecx
jmp 0x459a20
test al, al
je 0x459a76
cmp al, 0x2d
je 0x459a39
cmp al, 0x2b
jne 0x459a40
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x459a76
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x459a4f
cmp al, 0x58
jne 0x459a76
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x459a76
push 0x10
push 0
push esi
call fcn.004c4d25
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x459c98
push esi
call fcn.004c4df6
mov dword [esp + 0x44], eax
jmp 0x459c95
push 5
push str.Trans
push esi
call fcn.004c4e4b
add esp, 0xc
test eax, eax
jne 0x459b46
push 0x1f
lea esi, [edi + 6]
lea eax, [esp + 0xfc]
push esi
push eax
call fcn.004cc440
mov dl, byte [esp + 0x104]
lea edi, [esp + 0x104]
add esp, 0xc
mov byte [esp + 0x117], 0
test dl, dl
je 0x459af4
nop dword [eax]
mov ecx, 0x4e902c
mov al, 0x20
cmp dl, al
je 0x459aed
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x459ad7
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x459ad0
jmp 0x459af4
test edi, edi
je 0x459af4
mov byte [edi], 0
lea ecx, [esp + 0xf8]
call fcn.004acb10
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x459b24
push 0x10
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.004c4d25
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x459c98
movzx edx, cx
movzx eax, cl
shr edx, 8
shl eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x30], edx
jmp 0x459c98
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x459b52
cmp al, 9
jne 0x459b55
inc ecx
jmp 0x459b48
test al, al
je 0x459b97
cmp al, 0x2d
je 0x459b61
cmp al, 0x2b
jne 0x459b68
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x459b97
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x459b77
cmp al, 0x58
jne 0x459b97
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x459b97
push 0x10
push 0
push esi
call fcn.004c4d25
add esp, 0xc
jmp 0x459ba0
push esi
call fcn.004c4df6
add esp, 4
xor ebx, ebx
test eax, eax
cmovns ebx, eax
mov dword [esp + 0x2c], ebx
cmp ebx, 0xff
mov ebx, dword [esp + 0x1c]
jle 0x459c98
mov dword [esp + 0x2c], 0xff
jmp 0x459c98
add edi, 2
mov ecx, edi
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x459bda
cmp al, 9
jne 0x459bdd
inc ecx
jmp 0x459bd0
test al, al
je 0x459c25
cmp al, 0x2d
je 0x459be9
cmp al, 0x2b
jne 0x459bf0
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x459c25
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x459bff
cmp al, 0x58
jne 0x459c25
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x459c25
push 0x10
push 0
push edi
call fcn.004c4d25
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x1c], ebx
jmp 0x459c98
push edi
call fcn.004c4df6
mov ebx, eax
mov dword [esp + 0x20], ebx
jmp 0x459c95
add edi, 2
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x459c42
cmp al, 9
jne 0x459c45
inc ecx
jmp 0x459c38
test al, al
je 0x459c8b
cmp al, 0x2d
je 0x459c51
cmp al, 0x2b
jne 0x459c58
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x459c8b
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x459c67
cmp al, 0x58
jne 0x459c8b
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x459c8b
push 0x10
push 0
push edi
call fcn.004c4d25
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x459c98
push edi
call fcn.004c4df6
mov dword [esp + 0x2c], eax
add esp, 4
test esi, esi
je 0x459cc4
mov dl, byte [esi]
test dl, dl
je 0x459cc4
mov ecx, 0x4e902c
mov al, 0x20
nop dword [eax]
cmp dl, al
je 0x459cf5
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x459cb0
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x459ca2
mov eax, dword [0x4f898c]
test byte [eax + 0xe0], 1
jne 0x45a6d9
mov ecx, dword [0x4fb94c]
push 1
push 0
push 0xffffffffffffffff
push 0x4e9060
call fcn.004b01a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edi, [esi + 1]
mov esi, edi
nop word [eax + eax]
mov al, byte [esi]
cmp al, 0x20
je 0x459d0a
cmp al, 9
jne 0x459d0d
inc esi
jmp 0x459d00
cmp al, 0x2a
je 0x4599e5
push 0
lea eax, [esp + 0x27]
mov edx, ebx
push eax
push 0
push dword [esp + 0x4c]
lea eax, [esp + 0x90]
mov ecx, edi
push eax
push dword [esp + 0x3c]
call fcn.004ace70
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x459cc4
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x28], eax
test eax, eax
jne 0x459d81
cmp byte [esp + 0x23], al
jne 0x459cc4
cmp dword [esp + 0x80], 1
push ebx
jne 0x459d76
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x459cc4
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x459cc4
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
cmp dword [esp + 0x80], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x12], cl
jne 0x459f62
lea eax, [esp + 0xd0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x459e0c
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x13]
mov ecx, dword [esp + 0xdc]
push 1
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00458bc0
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x10
mov dword [esp + 0x38], eax
push dword [esp + 0xe0]
call ebx
push dword [esp + 0xdc]
call ebx
xor ebx, ebx
push ebx
call esi
mov esi, eax
push esi
mov dword [esp + 0x64], esi
call edi
mov edi, eax
test edi, edi
je 0x459f39
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x459f32
lea eax, [esp + 0xb8]
push eax
push 0x18
push dword [esp + 0xfc]
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x459f18
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x459f18
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
test eax, eax
je 0x459f18
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xc0]
push 0xff000000
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb8], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0xa8]
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 + 0xcc]
push dword [esp + 0xcc]
push dword [esp + 0x30]
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 + 0x60]
push dword [esp + 0xf4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0xf0]
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 + 0x1c]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x459cc4
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov eax, dword [esp + 0x28]
push 8
lea ecx, [esp + 0x17]
mov edx, eax
push ecx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.00458bc0
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x45a5c2
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 + 0x28]
inc esi
call edi
mov edi, eax
mov dword [esp + 0x88], edi
test edi, edi
je 0x45a5c2
push esi
push ebx
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x64], eax
test eax, eax
je 0x45a5c2
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x45a5c2
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x34]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45a5c2
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x47]
push 8
push eax
lea eax, [esp + 0x70]
mov edx, edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00458bc0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
test edx, edx
je 0x45a5c2
mov ecx, dword [esp + 0x18]
mov edi, ecx
mov ebx, dword [esp + 0x48]
imul ebx, dword [esp + 0x5c]
imul edi, dword [esp + 0x68]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x6c], edi
jne 0x45a073
cmp byte [esp + 0x47], 0
jne 0x45a073
mov esi, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x34]
test ebx, ebx
jle 0x45a1ba
jmp 0x45a1a0
mov esi, dword [esp + 0x30]
cmp esi, 0xffffffff
je 0x45a086
and esi, 0xf8f8f8
mov dword [esp + 0x30], esi
xor ecx, ecx
test edi, edi
jle 0x45a10f
cmp edi, 0x10
jb 0x45a103
mov eax, edi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x45a0a3
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f1530]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x14]
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 xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
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 0x45a0b5
mov edx, dword [esp + 0x14]
cmp ecx, edi
jge 0x45a10f
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edi
jl 0x45a103
xor ecx, ecx
test ebx, ebx
jle 0x45a1b2
cmp ebx, 0x10
jb 0x45a18c
mov eax, ebx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x45a12c
dec eax
or eax, 0xfffffff0
inc eax
mov esi, dword [esp + 0x34]
mov edx, ebx
movaps xmm2, xmmword [0x4f1530]
sub edx, eax
lea eax, [esi + 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 xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
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 0x45a140
cmp ecx, ebx
jge 0x45a19c
jmp 0x45a190
mov esi, dword [esp + 0x34]
and dword [esi + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, ebx
jl 0x45a190
mov edx, dword [esp + 0x14]
lea eax, [esi + 3]
mov ecx, ebx
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x45a1a5
jmp 0x45a1b6
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], 1
jge 0x45a2e6
test edi, edi
jle 0x45a5a3
lea eax, [edx + 3]
mov ecx, edi
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x45a1d2
mov eax, dword [esi]
xor esi, esi
xor edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x24], edi
nop
cmp dword [esi + edx], eax
je 0x45a20c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x45a202
cmp dword [ecx], 0
jne 0x45a20c
cmp eax, dword [esp + 0x30]
jne 0x45a2cb
mov eax, edi
mov ecx, dword [esp + 0x68]
cdq
idiv dword [esp + 0x18]
sub ecx, eax
cmp dword [esp + 0x5c], ecx
jg 0x45a2c3
mov eax, dword [esp + 0x18]
sub eax, edx
cmp dword [esp + 0x48], eax
jg 0x45a2c3
xor edi, edi
mov byte [esp + 0x12], 1
xor edx, edx
mov dword [esp + 0x4c], edi
test ebx, ebx
jle 0x45a501
mov ecx, dword [esp + 0x38]
mov eax, esi
mov ebx, esi
mov byte [esp + 0x12], 1
mov esi, dword [esp + 0x34]
sub esi, ecx
mov dword [esp + 0x54], esi
nop
mov edi, dword [esp + 0x14]
mov esi, dword [esi + ecx]
cmp dword [eax + edi], esi
mov edi, dword [esp + 0x4c]
je 0x45a282
cmp dword [esp + 0x38], 0
je 0x45a27c
cmp dword [ecx], 0
jne 0x45a282
cmp esi, dword [esp + 0x30]
jne 0x45a2b7
inc edx
cmp edx, dword [esp + 0x48]
jge 0x45a28e
add eax, 4
jmp 0x45a29f
mov esi, dword [esp + 0x18]
xor edx, edx
lea eax, [esi*4]
add ebx, eax
mov eax, ebx
inc edi
add ecx, 4
mov dword [esp + 0x4c], edi
cmp edi, dword [esp + 0x40]
jge 0x45a501
mov esi, dword [esp + 0x54]
jmp 0x45a260
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
inc edi
add esi, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x50], esi
cmp edi, dword [esp + 0x6c]
jl 0x45a1f0
jmp 0x45a5a5
xor edi, edi
mov dword [esp + 0x24], edi
cmp dword [esp + 0x6c], edi
jle 0x45a5a3
xor esi, esi
mov dword [esp + 0x54], esi
nop dword [eax]
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x68]
sub ecx, eax
cmp dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x18]
jg 0x45a491
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x48], eax
jg 0x45a491
xor ecx, ecx
mov byte [esp + 0x12], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
test ebx, ebx
jle 0x45a501
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0xa0], ecx
movzx ebx, word [eax]
mov cl, byte [eax + 2]
mov edx, ebx
mov eax, dword [esp + 0x2c]
shr edx, 8
movzx esi, cl
mov dword [esp + 0x78], ebx
mov dword [esp + 0xa4], edx
cmp eax, esi
jle 0x45a388
mov byte [esp + 0x13], 0
jmp 0x45a390
mov bl, cl
sub bl, al
mov byte [esp + 0x13], bl
xor ebx, ebx
movzx edi, dl
mov al, dl
mov edx, dword [esp + 0x2c]
sub al, byte [esp + 0x2c]
cmp dword [esp + 0x2c], edi
movzx eax, al
cmovle ebx, eax
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x78]
movzx eax, bl
mov dword [esp + 0x84], eax
mov al, bl
sub al, byte [esp + 0x2c]
xor ebx, ebx
cmp edx, dword [esp + 0x84]
movzx eax, al
cmovle ebx, eax
mov eax, 0xff
mov dword [esp + 0x9c], ebx
sub eax, esi
mov ebx, edx
mov edx, dword [esp + 0xa4]
cmp ebx, eax
jle 0x45a3f3
or bh, 0xff
jmp 0x45a3f7
mov bh, bl
add bh, cl
mov ecx, dword [esp + 0x2c]
mov eax, 0xff
sub eax, edi
cmp ecx, eax
jle 0x45a40b
or bl, 0xff
jmp 0x45a40f
mov bl, cl
add bl, dl
mov eax, 0xff
sub eax, dword [esp + 0x84]
cmp ecx, eax
jle 0x45a424
or cl, 0xff
jmp 0x45a428
add cl, byte [esp + 0x78]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x4c]
mov ch, byte [esi + eax + 2]
movzx edx, word [esi + eax]
mov eax, edx
shr eax, 8
cmp ch, byte [esp + 0x13]
jb 0x45a461
cmp ch, bh
ja 0x45a461
cmp al, byte [esp + 0x98]
jb 0x45a461
cmp al, bl
ja 0x45a461
cmp dl, byte [esp + 0x9c]
jb 0x45a461
cmp dl, cl
jbe 0x45a4ac
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x3c]
je 0x45a479
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + eax], 0
jne 0x45a4b0
mov ecx, dword [esp + 0x30]
cmp dword [eax], ecx
je 0x45a4b0
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc edi
add esi, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x54], esi
cmp edi, dword [esp + 0x6c]
jl 0x45a300
jmp 0x45a5a5
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x50]
inc edi
mov dword [esp + 0x50], edi
cmp edi, dword [esp + 0x48]
jge 0x45a4c8
add esi, 4
mov dword [esp + 0x4c], esi
jmp 0x45a4e7
mov ebx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x7c]
lea edx, [ebx*4]
add ecx, edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x4c], ecx
mov edi, dword [esp + 0x60]
add eax, 4
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], edi
cmp edi, dword [esp + 0x40]
jl 0x45a360
mov edi, dword [esp + 0x24]
mov bl, byte [esp + 0x12]
push dword [esp + 0x28]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x23], 0
jne 0x45a526
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x88]
test esi, esi
je 0x45a54b
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x45a544
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x45a55a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45a56b
push eax
call fcn.004c4247
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45a57c
push eax
call fcn.004c4247
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x459cc4
push eax
call fcn.004c4247
add esp, 4
test bl, bl
jne 0x45a5ce
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
mov ecx, dword [0x4fb94c]
push 1
push 0
push 0xffffffffffffffff
push 0x4e37f8
call fcn.004b01a0
xor bl, bl
jmp 0x45a509
mov edi, dword [esp + 0x94]
jmp 0x45a505
cmp dword [esp + 0x58], 0
mov ebx, dword [esp + 0x18]
je 0x45a649
mov eax, edi
cdq
idiv ebx
mov eax, dword [esp + 0x58]
mov esi, edx
sub esi, dword [esp + 0x70]
add esi, dword [ebp + 8]
cmp byte [eax + 0x17], 0
jne 0x45a5f8
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov cl, byte [eax + 0x15]
test cl, 2
je 0x45a615
and cl, 0x3d
mov byte [eax + 0x15], cl
mov ecx, dword [eax]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esp + 0x58]
mov cl, byte [eax + 0x15]
mov eax, esi
and cl, 0x9b
mov esi, dword [esp + 0x58]
or cl, 0x18
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov byte [esi + 0x15], cl
jge 0x45a639
mov ecx, esi
call fcn.004014d0
and byte [esi + 0x15], 0x8f
jmp 0x45a649
cmp dword [0x4fb974], 0
je 0x45a649
mov ecx, esi
call fcn.004014d0
cmp dword [esp + 0x90], 0
je 0x45a6ba
mov eax, edi
cdq
idiv ebx
mov ebx, dword [esp + 0x90]
mov esi, eax
sub esi, dword [esp + 0x74]
add esi, dword [ebp + 0xc]
cmp byte [ebx + 0x17], 0
jne 0x45a671
mov ebx, dword [ebx + 0xc]
mov cl, byte [ebx + 0x15]
test cl, 2
je 0x45a68a
and cl, 0x3d
mov byte [ebx + 0x15], cl
mov ecx, dword [ebx]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov cl, byte [ebx + 0x15]
mov eax, esi
and cl, 0x9b
cdq
or cl, 0x18
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebx + 0x15], cl
jge 0x45a6aa
mov ecx, ebx
call fcn.004014d0
and byte [ebx + 0x15], 0x8f
jmp 0x45a6ba
cmp dword [0x4fb974], 0
je 0x45a6ba
mov ecx, ebx
call fcn.004014d0
mov ecx, dword [0x4fb94c]
push 1
push 0
push 0xffffffffffffffff
push 0x4e33f8
call fcn.004b01a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x94]
push 0x4e3371
push 0
push 0x4e9060
call fcn.0044d4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14