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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x520308]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x8c], ecx
and ebx, dword [0x52030c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x88], ebx
push esi
push edi
test eax, eax
je 0x458fa6
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b3e10
test ebx, ebx
je 0x458fb9
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004b3e10
xorps xmm0, xmm0
lea edx, [esp + 0x74]
push 0
lea ecx, [esp + 0x74]
movlpd qword [esp + 0x74], xmm0
call fcn.004b0b80
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 + 0x30], 0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x5c], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebx
call fcn.004cbcce
mov esi, eax
add esp, 8
test esi, esi
je 0x45906f
add esi, 2
push 0x50ff7c
push esi
call fcn.004ce516
add esp, 8
test eax, eax
je 0x459057
push 0x50ff84
push esi
call fcn.004ce516
add esp, 8
test eax, eax
je 0x459057
push 0x50ff8c
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x45906f
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
mov ebx, eax
push 0x32
mov dword [esp + 0x18], ebx
call esi
mov dword [esp + 0x34], eax
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x20
je 0x45907e
cmp eax, 9
jne 0x459083
add esi, 2
jmp 0x459071
cmp eax, 0x2a
jne 0x4592b3
nop dword [eax]
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.004d9eb5
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x459282
cmp eax, 0x57
je 0x45926f
push 4
push str.Icon
push esi
call fcn.004cff45
add esp, 0xc
test eax, eax
jne 0x4590dc
add esi, 8
mov ecx, esi
call fcn.00419340
mov dword [esp + 0x54], eax
jmp 0x45919f
push 5
push str.Trans
push esi
call fcn.004cff45
add esp, 0xc
test eax, eax
jne 0x459238
push 0x1f
add esi, 0xa
lea eax, [esp + 0xfc]
push esi
push eax
call fcn.004d95fc
xor eax, eax
lea ebx, [esp + 0x104]
mov word [esp + 0x142], ax
add esp, 0xc
mov ax, word [esp + 0xf8]
test ax, ax
je 0x45916c
movzx edi, ax
nop dword [eax + eax]
mov ecx, 0x506dbc
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x459163
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x459140
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x459130
jmp 0x45916c
test ebx, ebx
je 0x45916c
xor eax, eax
mov word [ebx], ax
lea ecx, [esp + 0xf8]
call fcn.004b09b0
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x459216
push 0x10
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.004cfd31
add esp, 0xc
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x4591e5
movzx eax, word [esi]
test ax, ax
je 0x4591e5
mov edi, eax
nop dword [eax]
mov eax, 0x506dbc
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x459293
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x4591c0
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x4591b0
mov eax, dword [0x51b98c]
test byte [eax + 0x100], 1
jne 0x459c6d
mov ecx, dword [0x51eabc]
push 1
push 0
push 0xffffffffffffffff
push 0x506e1c
call fcn.004b3e10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
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 + 0x2c], edx
jmp 0x45919b
mov ecx, esi
call fcn.00419340
mov ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jns 0x459256
mov dword [esp + 0x28], 0
jmp 0x45919b
cmp ebx, 0xff
jle 0x45919b
mov dword [esp + 0x28], 0xff
jmp 0x45919b
lea ecx, [esi + 2]
call fcn.00419340
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x45919f
lea ecx, [esi + 2]
call fcn.00419340
mov dword [esp + 0x34], eax
jmp 0x45919f
lea edi, [esi + 2]
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x20
je 0x4592a5
cmp eax, 9
jne 0x4592aa
add esi, 2
jmp 0x459298
cmp eax, 0x2a
je 0x459090
push 0
lea eax, [esp + 0x23]
mov edx, ebx
push eax
push 0
push dword [esp + 0x60]
lea eax, [esp + 0x90]
mov ecx, edi
push eax
push dword [esp + 0x48]
call fcn.004b0d10
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x48], ebx
test ebx, ebx
je 0x4591e5
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x44], eax
test eax, eax
jne 0x459323
cmp byte [esp + 0x1f], al
jne 0x4591e5
cmp dword [esp + 0x80], 1
push ebx
jne 0x459318
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4591e5
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4591e5
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
xor al, al
mov dword [esp + 0x88], 0
cmp dword [esp + 0x80], 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x12], al
jne 0x459502
lea eax, [esp + 0xd0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4593b0
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x13]
mov ecx, dword [esp + 0xdc]
push 1
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00458260
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x10
mov dword [esp + 0x14], 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 + 0x68], esi
call edi
mov edi, eax
test edi, edi
je 0x4594dd
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4594d6
lea eax, [esp + 0xb8]
push eax
push 0x18
push dword [esp + 0xfc]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4594bc
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x4594bc
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
test eax, eax
je 0x4594bc
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 + 0x5c]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x58]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x64]
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 + 0x48]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x48], ebx
test ebx, ebx
je 0x4591e5
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x13]
push 8
push eax
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00458260
add esp, 0x10
mov dword [esp + 0x3c], eax
test eax, eax
je 0x459b52
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 + 0x44]
inc esi
call edi
mov edi, eax
mov dword [esp + 0x88], edi
test edi, edi
je 0x459b52
push esi
push ebx
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x54], eax
test eax, eax
je 0x459b52
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x459b52
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x50]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x459b52
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x3b]
push 8
push eax
lea eax, [esp + 0x74]
mov edx, edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00458260
mov edx, eax
add esp, 0x10
mov dword [esp + 0x18], edx
test edx, edx
je 0x459b52
mov ecx, dword [esp + 0x24]
mov edi, ecx
mov esi, dword [esp + 0x40]
imul esi, dword [esp + 0x60]
imul edi, dword [esp + 0x6c]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], edi
jne 0x459611
cmp byte [esp + 0x3b], 0
jne 0x459611
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ebx
test esi, esi
jle 0x45974f
jmp 0x459735
mov ebx, dword [esp + 0x2c]
cmp ebx, 0xffffffff
je 0x459624
and ebx, 0xf8f8f8
mov dword [esp + 0x2c], ebx
xor ecx, ecx
test edi, edi
jle 0x4596ac
cmp edi, 0x10
jb 0x4596a0
mov eax, edi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x459641
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x514b60]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x18]
add eax, 0x20
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pand xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
pand xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
pand xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pand xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jl 0x459653
mov edx, dword [esp + 0x18]
cmp ecx, edi
jge 0x4596ac
nop dword [eax + eax]
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edi
jl 0x4596a0
xor ecx, ecx
test esi, esi
jle 0x45974b
cmp esi, 0x10
jb 0x459721
mov eax, esi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x4596c9
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x514b60]
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0x3c]
add eax, 0x20
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pand xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
pand xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
pand xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pand xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jl 0x4596e0
cmp ecx, esi
jge 0x459731
mov edx, dword [esp + 0x3c]
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, esi
jl 0x459725
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov ecx, esi
add eax, 3
nop
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459740
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 1
jge 0x459879
test edi, edi
jle 0x459b33
lea eax, [edx + 3]
mov ecx, edi
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459767
mov eax, dword [esp + 0x3c]
xor esi, esi
xor edi, edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x20], edi
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp dword [esi + edx], eax
je 0x4597a2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x45979a
cmp dword [ecx], 0
jne 0x4597a2
cmp eax, ebx
jne 0x45985a
mov ebx, dword [esp + 0x24]
mov eax, edi
cdq
idiv ebx
mov ecx, dword [esp + 0x6c]
sub ecx, eax
cmp dword [esp + 0x60], ecx
jg 0x459852
mov eax, ebx
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x459852
xor edx, edx
xor edi, edi
mov bl, 1
mov dword [esp + 0x4c], edi
cmp dword [esp + 0x34], edx
jle 0x459a95
mov ecx, dword [esp + 0x14]
mov eax, esi
mov byte [esp + 0x12], bl
mov ebx, esi
mov esi, dword [esp + 0x3c]
sub esi, ecx
mov dword [esp + 0x58], esi
mov edi, dword [esp + 0x18]
mov esi, dword [esi + ecx]
cmp dword [eax + edi], esi
mov edi, dword [esp + 0x4c]
je 0x459815
cmp dword [esp + 0x14], 0
je 0x45980f
cmp dword [ecx], 0
jne 0x459815
cmp esi, dword [esp + 0x2c]
jne 0x45984a
inc edx
cmp edx, dword [esp + 0x40]
jge 0x459821
add eax, 4
jmp 0x459832
mov esi, dword [esp + 0x24]
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 + 0x34]
jge 0x459a91
mov esi, dword [esp + 0x58]
jmp 0x4597f3
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
inc edi
add esi, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x50], esi
cmp edi, dword [esp + 0x68]
jge 0x459a33
mov ebx, dword [esp + 0x2c]
jmp 0x459788
xor edi, edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x68], edi
jle 0x459b33
xor ebx, ebx
mov dword [esp + 0x58], ebx
nop
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x6c]
sub ecx, eax
cmp dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x24]
jg 0x459a1d
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x459a1d
xor ecx, ecx
mov byte [esp + 0x12], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], ecx
test esi, esi
jle 0x459a91
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xa0], ecx
movzx ebx, word [eax]
mov cl, byte [eax + 2]
mov edx, ebx
mov eax, dword [esp + 0x28]
shr edx, 8
movzx esi, cl
mov dword [esp + 0x78], ebx
mov dword [esp + 0xa4], edx
cmp eax, esi
jle 0x459918
mov byte [esp + 0x13], 0
jmp 0x459920
mov bl, cl
sub bl, al
mov byte [esp + 0x13], bl
mov al, dl
movzx edi, dl
sub al, byte [esp + 0x28]
xor ebx, ebx
cmp dword [esp + 0x28], edi
movzx eax, al
cmovle ebx, eax
xor edx, edx
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x78]
movzx eax, bl
mov dword [esp + 0x84], eax
mov al, bl
mov ebx, dword [esp + 0x28]
sub al, bl
cmp ebx, dword [esp + 0x84]
movzx eax, al
cmovle edx, eax
mov eax, 0xff
sub eax, esi
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0xa4]
cmp ebx, eax
jle 0x45997f
or bh, 0xff
jmp 0x459983
mov bh, bl
add bh, cl
mov ecx, dword [esp + 0x28]
mov eax, 0xff
sub eax, edi
cmp ecx, eax
jle 0x459997
or bl, 0xff
jmp 0x45999b
mov bl, cl
add bl, dl
mov eax, 0xff
sub eax, dword [esp + 0x84]
cmp ecx, eax
jle 0x4599b0
or cl, 0xff
jmp 0x4599b4
add cl, byte [esp + 0x78]
mov eax, dword [esp + 0x18]
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 0x4599ed
cmp ch, bh
ja 0x4599ed
cmp al, byte [esp + 0x98]
jb 0x4599ed
cmp al, bl
ja 0x4599ed
cmp dl, byte [esp + 0x9c]
jb 0x4599ed
cmp dl, cl
jbe 0x459a3c
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
je 0x459a05
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + eax], 0
jne 0x459a40
mov ebx, dword [esp + 0x2c]
cmp dword [eax], ebx
je 0x459a40
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
inc edi
add ebx, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x58], ebx
cmp edi, dword [esp + 0x68]
jl 0x459890
mov edi, dword [esp + 0x20]
jmp 0x459b35
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x50]
inc edi
mov dword [esp + 0x50], edi
cmp edi, dword [esp + 0x40]
jge 0x459a58
add esi, 4
mov dword [esp + 0x4c], esi
jmp 0x459a77
mov ebx, dword [esp + 0x24]
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 + 0x64]
add eax, 4
inc edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], edi
cmp edi, dword [esp + 0x34]
jl 0x4598f0
mov bl, byte [esp + 0x12]
mov edi, dword [esp + 0x20]
push dword [esp + 0x44]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x1f], 0
jne 0x459ab6
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x88]
test esi, esi
je 0x459adb
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x459ad4
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x459aea
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x459afb
push eax
call fcn.004cfed0
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x459b0c
push eax
call fcn.004cfed0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4591e5
push eax
call fcn.004cfed0
add esp, 4
test bl, bl
jne 0x459b62
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
mov ecx, dword [0x51eabc]
push 1
push 0
push 0xffffffffffffffff
push 0x5068e4
call fcn.004b3e10
xor bl, bl
jmp 0x459a99
mov edi, dword [esp + 0x94]
mov bl, byte [esp + 0x12]
jmp 0x459a99
cmp dword [esp + 0x5c], 0
mov ebx, dword [esp + 0x24]
je 0x459bdd
mov eax, edi
cdq
idiv ebx
mov eax, dword [esp + 0x5c]
mov esi, edx
sub esi, dword [esp + 0x70]
add esi, dword [ebp + 8]
cmp byte [eax + 0x17], 0
jne 0x459b8c
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov cl, byte [eax + 0x15]
test cl, 2
je 0x459ba9
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 + 0x5c]
mov cl, byte [eax + 0x15]
mov eax, esi
and cl, 0x9b
mov esi, dword [esp + 0x5c]
or cl, 0x18
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov byte [esi + 0x15], cl
jge 0x459bcd
mov ecx, esi
call fcn.00401490
and byte [esi + 0x15], 0x8f
jmp 0x459bdd
cmp dword [0x51eae4], 0
je 0x459bdd
mov ecx, esi
call fcn.00401490
cmp dword [esp + 0x90], 0
je 0x459c4e
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 0x459c05
mov ebx, dword [ebx + 0xc]
mov cl, byte [ebx + 0x15]
test cl, 2
je 0x459c1e
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 0x459c3e
mov ecx, ebx
call fcn.00401490
and byte [ebx + 0x15], 0x8f
jmp 0x459c4e
cmp dword [0x51eae4], 0
je 0x459c4e
mov ecx, ebx
call fcn.00401490
mov ecx, dword [0x51eabc]
push 1
push 0
push 0xffffffffffffffff
push 0x4f04b0
call fcn.004b3e10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x94]
push 0x4f03e8
push 0
push 0x506e1c
call fcn.0044d520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14