Function at 0x4b5350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov eax, dword [0x703c08]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, ecx
je 0x4b6260
call fcn.004b0990
mov ecx, dword [0x7034d4]
mov eax, dword [ecx]
push 0xf
call dword [eax + 4]
test al, al
je 0x4b55fb
fld dword [0x703c14]
fmul dword [0x6a8524]
fadd dword [esi + 0x3fa4]
fstp dword [esi + 0x3fa4]
fld dword [0x703c14]
fmul dword [0x6a8524]
fadd dword [esi + 0x3fa8]
fstp dword [esi + 0x3fa8]
fld dword [0x703c14]
fmul dword [0x6aa3c0]
fadd dword [esi + 0x3fac]
fstp dword [esi + 0x3fac]
fld dword [0x703c14]
fmul dword [0x6a8690]
fsubr dword [esi + 0x3fb4]
fstp dword [esi + 0x3fb4]
fld dword [0x703c14]
fmul dword [0x6a8690]
fadd dword [esi + 0x3fb8]
fstp dword [esi + 0x3fb8]
fld dword [0x21f68d8]
fcomp dword [0x6a8694]
fnstsw ax
test ah, 5
jp 0x4b5472
mov ecx, dword [esi + 0x3f94]
cmp ecx, ebx
je 0x4b5424
push ebx
call fcn.0051d530
mov dword [eax], ebx
mov ecx, dword [esi + 0x3f98]
cmp ecx, ebx
je 0x4b5436
push ebx
call fcn.0051d530
mov dword [eax], ebx
mov ecx, dword [esi + 0x3f9c]
cmp ecx, ebx
je 0x4b5448
push ebx
call fcn.0051d530
mov dword [eax], ebx
mov ecx, dword [esi + 0x3fa0]
cmp ecx, ebx
je 0x4b545a
push ebx
call fcn.0051d530
mov dword [eax], ebx
fld dword [0x703c14]
fmul dword [0x6a84d0]
fadd dword [esi + 0x3fb0]
fstp dword [esi + 0x3fb0]
fld dword [esi + 0x3fac]
mov ecx, 0x3f800000
fcomp dword [0x6a8210]
fnstsw ax
test ah, 0x41
jne 0x4b5490
mov dword [esi + 0x3fac], ecx
fld dword [esi + 0x3fb0]
fcomp dword [0x6a8674]
fnstsw ax
test ah, 0x41
jne 0x4b54ad
mov dword [esi + 0x3fb0], 0x3f4ccccd
mov eax, dword [0x21ebef8]
mov edx, dword [eax + 0x404]
shl edx, 8
test byte [edx + eax + 5], 0x80
je 0x4b54c8
mov dword [esi + 0x3fac], ecx
cmp dword [esi + 0x3fa0], ebx
je 0x4b5511
push 0x43fa0000
push 0x439def5c
push 0x44098000
lea eax, [esp + 0x4c]
push eax
call fcn.005d0e4f
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x3fa0]
call fcn.0051d4f0
mov edx, dword [0x21f1c70]
mov eax, dword [0x703c14]
mov ecx, dword [esi + 0x3fa0]
push edx
push eax
call fcn.0051d5e0
cmp dword [esi + 0x3f94], ebx
je 0x4b555d
mov ecx, dword [esi + 0x3fb4]
push 0x43e10000
push 0x43acef5c
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.005d0e4f
mov ecx, dword [esi + 0x3f94]
lea eax, [esp + 0x40]
push eax
call fcn.0051d4f0
mov ecx, dword [0x21f1c70]
mov edx, dword [0x703c14]
push ecx
mov ecx, dword [esi + 0x3f94]
push edx
call fcn.0051d5e0
cmp dword [esi + 0x3f98], ebx
je 0x4b55a8
mov eax, dword [esi + 0x3fb8]
push 0x43e10000
push 0x43a7ef5c
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.005d0e4f
mov ecx, dword [esi + 0x3f98]
lea edx, [esp + 0x40]
push edx
call fcn.0051d4f0
mov eax, dword [0x21f1c70]
mov ecx, dword [0x703c14]
push eax
push ecx
mov ecx, dword [esi + 0x3f98]
call fcn.0051d5e0
cmp dword [esi + 0x3f9c], ebx
je 0x4b5711
push 0x43d20000
push 0x439def5c
push 0x43d20000
lea edx, [esp + 0x4c]
push edx
call fcn.005d0e4f
mov ecx, dword [esi + 0x3f9c]
lea eax, [esp + 0x40]
push eax
call fcn.0051d4f0
mov ecx, dword [0x21f1c70]
mov edx, dword [0x703c14]
push ecx
mov ecx, dword [esi + 0x3f9c]
push edx
call fcn.0051d5e0
jmp 0x4b5711
mov ecx, dword [0x7034d4]
mov eax, dword [ecx]
push 0xe
call dword [eax + 4]
test al, al
je 0x4b5711
fld dword [0x703c14]
fmul dword [0x6aa3c4]
fadd dword [esi + 0x3c44]
fst dword [esi + 0x3c44]
fcomp dword [0x6adc30]
fnstsw ax
test ah, 1
jne 0x4b563b
mov dword [esi + 0x3c44], ebx
fld dword [0x703c14]
fmul dword [0x6a8524]
fadd dword [esi + 0x3ea0]
fst dword [esi + 0x3ea0]
fcomp dword [0x6adc30]
fnstsw ax
test ah, 1
jne 0x4b5666
mov dword [esi + 0x3ea0], ebx
lea edi, [esi + 0x3c48]
mov ebx, 0x32
fld dword [edi]
fcomp dword [0x6a8524]
fnstsw ax
test ah, 5
jp 0x4b56da
fld dword [edi]
fcomp dword [0x6adc2c]
fnstsw ax
test ah, 0x41
jne 0x4b56da
call fcn.005b91d1
cdq
mov ecx, 0x32
idiv ecx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fadd dword [0x21f68d0]
fadd dword [0x6a8638]
fstp dword [edi]
call fcn.005b91d1
cdq
mov ecx, 0xa
idiv ecx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fld dword [0x21f68d4]
fsub dword [0x6a8508]
faddp st(1)
fstp dword [edi + 4]
jmp 0x4b56ea
fld dword [0x703c14]
fmul dword [0x6a867c]
fsubr dword [edi]
fstp dword [edi]
fld dword [0x21f68d0]
fsub dword [0x6a8638]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jne 0x4b5705
mov dword [edi], 0
add edi, 0xc
dec ebx
jne 0x4b5671
xor ebx, ebx
fld dword [0x21f68d8]
call fcn.005b8b18
fld dword [0x21f68d0]
push eax
call fcn.005b8b18
push eax
mov ecx, 0x844b74
call fcn.0044d900
mov ecx, dword [0x847160]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [0x847168], eax
mov edi, dword [eax + 8]
je 0x4b57ef
cmp edi, ebx
mov edx, dword [eax]
mov dword [0x847168], edx
je 0x4b57ef
jmp 0x4b5760
mov eax, dword [edi + 0x1dad0]
cmp eax, ebx
mov dword [esp + 0x18], 0x3f800000
je 0x4b5779
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
call fcn.0058bfb0
fld dword [esp + 0x18]
mov ecx, dword [edi + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
fadd dword [edi + 0x30]
lea ecx, [esp + 0x24]
push ecx
fstp dword [esp + 0x2c]
mov edx, dword [edi + 0x34]
mov ecx, 0x21f69ac
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.00438250
test al, al
je 0x4b57c9
mov ecx, edi
mov dword [edi + 0x180], 1
call fcn.0054da60
jmp 0x4b57cf
mov dword [edi + 0x180], ebx
mov eax, dword [0x847168]
cmp eax, dword [0x847160]
mov edi, dword [eax + 8]
je 0x4b57ef
cmp edi, ebx
mov edx, dword [eax]
mov dword [0x847168], edx
jne 0x4b5760
mov ecx, dword [0x844ab4]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [0x844abc], eax
je 0x4b5881
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x4b5872
mov dword [ecx + 0x180], 1
call fcn.0054da60
test eax, eax
mov eax, dword [0x844abc]
jne 0x4b5872
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x4b583e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x844abc]
mov dword [ecx + 8], ebx
mov eax, dword [0x844abc]
cmp eax, dword [0x844ab4]
mov edi, dword [eax]
je 0x4b586b
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push eax
mov dword [edx + 4], ecx
call fcn.005b806d
mov eax, dword [0x844ab8]
add esp, 4
dec eax
mov dword [0x844ab8], eax
mov eax, edi
mov dword [0x844abc], eax
mov eax, dword [eax]
cmp eax, dword [0x844ab4]
mov dword [0x844abc], eax
jne 0x4b5804
mov ecx, 0x21ebee8
call fcn.00520b90
mov ecx, dword [0x7034d4]
cmp ecx, ebx
mov edi, dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
je 0x4b59ea
mov edx, dword [ecx]
push 0x18
call dword [edx + 4]
test al, al
je 0x4b59ea
cmp dword [esi + 0x3bf8], ebx
jne 0x4b59ea
cmp dword [0x6f355c], 0x400
jl 0x4b59ea
cmp dword [0x6f3560], 0x300
jl 0x4b59ea
mov eax, dword [0x703c14]
mov ecx, dword [esi + 0x3f70]
push eax
call fcn.00508b00
cmp al, 0xff
jne 0x4b59b5
cmp byte [esi + 0x2473], 1
jne 0x4b5937
push 0x7034e0
lea ecx, [esi + 4]
push ecx
push 0x6ad954
push str.LOGIN
call edi
cmp byte [esi + 0x2947], 1
push 0x7034e0
jne 0x4b5926
push str.TRUE
jmp 0x4b592b
push str.FALSE
push 0x6ad948
push str.LOGIN
call edi
mov eax, dword [0x2225648]
cmp eax, ebx
je 0x4b599e
cmp dword [eax + 0x200], ebx
je 0x4b599e
mov cl, byte [eax + 0x207]
xor edi, edi
test cl, cl
jbe 0x4b5978
lea ebx, [esi + 0x5f]
push ebx
call fcn.005b8a6a
mov byte [esi + edi + 0x4a], al
mov eax, dword [0x2225648]
movzx edx, byte [eax + 0x207]
add esp, 4
inc edi
add ebx, 3
cmp edi, edx
jl 0x4b5957
xor edx, edx
mov dl, byte [eax + 0x207]
lea ecx, [esi + 0x4a]
push ecx
push edx
call fcn.005885a0
add esp, 8
mov ecx, esi
call fcn.004b0bb0
mov edi, dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
xor ebx, ebx
jmp 0x4b59ea
mov ecx, esi
call fcn.004b4200
test eax, eax
jne 0x4b59ea
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
jle 0x4b59ea
cmp dword [0x6f3558], 2
push 1
jne 0x4b59d8
movsx ax, al
movzx ecx, ax
push ecx
mov ecx, 0x21ec34c
call fcn.00523ba0
jmp 0x4b59ea
movsx dx, al
movzx eax, dx
push eax
mov ecx, 0x21ec34c
call fcn.005242a0
mov ecx, dword [esi + 0x3c0c]
cmp ecx, ebx
je 0x4b5a49
call fcn.004bc660
test eax, eax
je 0x4b6260
mov edi, dword [esi + 0x3c0c]
cmp edi, ebx
je 0x4b5a21
mov ecx, edi
call fcn.004bcf70
push edi
call fcn.005b806d
add esp, 4
mov dword [esi + 0x3c0c], ebx
mov eax, dword [0x2225648]
cmp eax, ebx
je 0x4b5a33
cmp byte [eax + 0x204], 1
je 0x4b5a40
cmp dword [0x6f3558], 4
jne 0x4b6260
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x2225648]
cmp eax, ebx
je 0x4b5a65
cmp dword [eax + 0x200], ebx
je 0x4b5a65
mov dword [esi + 0x3bf8], ebx
mov eax, dword [0x2225648]
cmp dword [esi + 0x3bf8], ebx
je 0x4b5c88
cmp eax, ebx
je 0x4b5a8a
cmp dword [eax + 0x200], ebx
je 0x4b5a8a
mov dword [eax + 0x200], ebx
mov byte [esi + 0xfc], 1
lea ecx, [esi + 0x100]
call fcn.004dd1e0
cmp eax, 3
je 0x4b5a40
cmp eax, 1
jne 0x4b5ad1
mov ecx, dword [0x703bfc]
push ebx
push ecx
mov ecx, 0x21ec34c
call fcn.00521870
push ebx
mov ecx, 0x21ec34c
call fcn.005218f0
push 1
call fcn.00405840
fstp st(0)
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4b6260
call fcn.0057a9b0
push 0x7850
push 0x703a70
call fcn.0057a840
add esp, 8
test al, al
je 0x4b5b20
push 0x10
push str.ERROR___
push 0x2723
call fcn.0041b230
mov edx, dword [0x703bfc]
add esp, 4
push eax
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x2225648]
mov edi, dword [sym.imp.winmm.dll_timeGetTime]
xor eax, eax
mov dword [ecx + 0x1ec], eax
mov edx, dword [0x2225648]
mov dword [edx + 0x244], eax
call edi
mov ebx, eax
mov eax, dword [0x2225648]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4b5bbd
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x4b5b92
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.user32.dll_GetMessageA]
test eax, eax
je 0x4b5b92
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.user32.dll_TranslateMessage]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.user32.dll_DispatchMessageA]
mov edx, dword [0x2225648]
mov eax, dword [edx + 0x1ec]
test eax, eax
jne 0x4b5bc6
call edi
sub eax, ebx
cmp eax, 0x7530
ja 0x4b5c5e
mov eax, dword [0x2225648]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4b5b50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x3bf8], 0
mov byte [esi + 0xfc], 1
mov byte [esi + 0x5e], 0
mov eax, dword [0x2225648]
test eax, eax
je 0x4b5bee
mov dword [eax + 0x200], 0
xor ecx, ecx
lea edx, [esi + 0x27]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov word [edx + 0x20], cx
mov byte [edx + 0x22], cl
xor eax, eax
mov ecx, 0xf
lea edi, [esi + 0x5f]
rep stosd dword es:[edi], eax
cmp dword [0x6f3558], 3
push 0
push 1
mov ecx, 0x21ec34c
push 0x96
jne 0x4b5c38
push 0xc
jmp 0x4b5c3a
push 0x13
call fcn.005218a0
mov ecx, 0x21ec34c
call fcn.00523c40
push 1
call fcn.00405840
fstp st(0)
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push str.ERROR___
push 0x2724
call fcn.0041b230
add esp, 4
push eax
mov eax, dword [0x703bfc]
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x6f3558], 4
jne 0x4b5d20
mov ecx, 0x21ec34c
call fcn.00523c40
xor ecx, ecx
lea edx, [esi + 4]
mov eax, edx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov word [eax + 0x20], cx
mov byte [eax + 0x22], cl
lea edi, [esi + 0x27]
mov eax, edi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov word [eax + 0x20], cx
mov byte [eax + 0x22], cl
mov eax, 0x703bd8
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b5cf0
mov eax, 0x703bb4
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b5d03
mov ecx, esi
call fcn.004b4200
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x21ebef8]
mov edx, dword [ecx + 0x404]
shl edx, 8
add ecx, edx
mov dl, byte [ecx + 0x20]
test dl, dl
js 0x4b5d46
mov dl, byte [ecx + 0xa0]
test dl, dl
jns 0x4b5e0b
cmp eax, ebx
je 0x4b5db8
cmp dword [eax + 0x200], ebx
je 0x4b5db8
mov cl, byte [eax + 0x207]
xor edi, edi
test cl, cl
jbe 0x4b5d86
lea ebx, [esi + 0x5f]
push ebx
call fcn.005b8a6a
mov byte [esi + edi + 0x4a], al
mov eax, dword [0x2225648]
movzx ecx, byte [eax + 0x207]
add esp, 4
inc edi
add ebx, 3
cmp edi, ecx
jl 0x4b5d65
movzx eax, byte [eax + 0x207]
lea edx, [esi + 0x4a]
push edx
push eax
call fcn.005885a0
add esp, 8
mov ecx, esi
call fcn.004b0bb0
mov ecx, dword [0x21ebef8]
call fcn.00596000
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x2473], 1
jne 0x4b5dfc
push 0x7034e0
lea ecx, [esi + 4]
push ecx
push 0x6ad954
push str.LOGIN
call edi
cmp byte [esi + 0x2947], 1
push 0x7034e0
jne 0x4b5deb
push str.TRUE
jmp 0x4b5df0
push str.FALSE
push 0x6ad948
push str.LOGIN
call edi
mov ecx, esi
call fcn.004b4200
test eax, eax
je 0x4b6260
push 9
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
je 0x4b5ea8
mov al, byte [0x84f748]
test al, al
jne 0x4b5eaf
mov al, byte [esi + 0xfc]
test al, al
mov byte [0x84f748], 1
jne 0x4b5e4d
mov ecx, 0x21ec34c
mov byte [esi + 0xfc], 1
call fcn.00523c40
jmp 0x4b5eaf
cmp al, 2
jne 0x4b5e95
cmp dword [0x2225648], ebx
je 0x4b5e9c
mov dl, byte [esi + 0x5e]
inc dl
mov byte [esi + 0x5e], dl
mov al, dl
mov edx, dword [0x2225648]
cmp al, byte [edx + 0x207]
jb 0x4b5e9c
push ebx
push 1
push 0x96
push 2
mov ecx, 0x21ec34c
mov byte [esi + 0x5e], 0
call fcn.005218a0
mov ecx, 0x21ec34c
call fcn.00523c40
jmp 0x4b5eaf
mov byte [esi + 0xfc], 0
mov ecx, 0x21ec34c
call fcn.00523c40
jmp 0x4b5eaf
mov byte [0x84f748], 0
cmp dword [0x21ebf00], 2
jne 0x4b6123
mov eax, dword [0x6f355c]
mov ecx, dword [0x6f3560]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x6f
mov dword [esp + 0x1c], eax
mov eax, ecx
fild dword [esp + 0x1c]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
fstp dword [esp + 0x1c]
sub ecx, eax
sub ecx, 0x114
mov dword [esp + 0x18], ecx
mov ecx, dword [0x7034d4]
cmp ecx, ebx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
je 0x4b5f25
mov eax, dword [ecx]
push 0x18
call dword [eax + 4]
test al, al
je 0x4b5f25
cmp dword [0x703a9c], ebx
jle 0x4b5f25
fld dword [esp + 0x18]
fadd dword [0x6a86cc]
fstp dword [esp + 0x18]
cmp byte [esi + 0xfc], 2
je 0x4b6058
fild dword [0x706454]
fld dword [esp + 0x1c]
fadd dword [0x6adc28]
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4b5fc9
fld dword [esp + 0x1c]
fadd dword [0x6adc24]
fld st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4b5fc9
fild dword [0x706458]
fld dword [esp + 0x18]
fadd dword [0x6adc20]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4b5fc7
fld dword [esp + 0x18]
fadd dword [0x6adc1c]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4b5fc9
fstp st(0)
mov ecx, 0x21ec34c
fstp st(0)
mov byte [esi + 0xfc], 0
call fcn.00523c40
push 0x447a0000
push 0x21f1d38
push 0x1e
push ebx
mov ecx, 0x21efa50
call fcn.0052a5b0
jmp 0x4b6123
fstp st(0)
fld st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x4b6121
fld dword [esp + 0x1c]
fadd dword [0x6adc18]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4b6123
fild dword [0x706458]
fld dword [esp + 0x18]
fadd dword [0x6adc28]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4b6121
fld dword [esp + 0x18]
fadd dword [0x6adc14]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4b6123
mov ecx, 0x21ec34c
mov byte [esi + 0xfc], 1
call fcn.00523c40
push 0x447a0000
push 0x21f1d38
push 0x1e
push ebx
mov ecx, 0x21efa50
call fcn.0052a5b0
jmp 0x4b6123
mov eax, dword [0x6f355c]
mov ecx, dword [0x2225648]
cdq
sub eax, edx
mov edi, eax
movzx eax, byte [ecx + 0x207]
sar edi, 1
sub edi, 9
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4b6123
mov dword [esp + 0x1c], ebx
jmp 0x4b6090
fild dword [esp + 0x1c]
fadd dword [esp + 0x18]
fadd dword [0x6ad4ac]
call fcn.005b8b18
mov ecx, dword [0x706454]
cmp ecx, edi
jl 0x4b60c5
lea edx, [edi + 0x7b]
cmp ecx, edx
jg 0x4b60c5
mov ecx, dword [0x706458]
cmp ecx, eax
jl 0x4b60c5
add eax, 0x14
cmp ecx, eax
jle 0x4b60db
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ebx
add ecx, 0x16
cmp ebx, eax
mov dword [esp + 0x1c], ecx
jl 0x4b6090
jmp 0x4b6123
push 0
push 1
push 0x96
push 2
mov ecx, 0x21ec34c
call fcn.005218a0
mov ecx, 0x21ec34c
call fcn.00523c40
push 0x447a0000
push 0x21f1d38
push 0x1e
push 0
mov ecx, 0x21efa50
call fcn.0052a5b0
mov byte [esi + 0x5e], bl
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
mov eax, dword [0x2225648]
test eax, eax
je 0x4b61c5
mov ecx, dword [eax + 0x200]
test ecx, ecx
je 0x4b61c5
lea ecx, [esi + 0x324c]
call fcn.00517c00
test eax, eax
je 0x4b61a9
mov eax, dword [0x2225648]
mov cl, byte [eax + 0x207]
xor edi, edi
test cl, cl
jbe 0x4b6182
lea ebx, [esi + 0x5f]
push ebx
call fcn.005b8a6a
mov byte [esi + edi + 0x4a], al
mov eax, dword [0x2225648]
movzx ecx, byte [eax + 0x207]
add esp, 4
inc edi
add ebx, 3
cmp edi, ecx
jl 0x4b6161
movzx eax, byte [eax + 0x207]
lea edx, [esi + 0x4a]
push edx
push eax
call fcn.005885a0
add esp, 8
mov ecx, esi
call fcn.004b0bb0
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x3720]
call fcn.00517c00
test eax, eax
je 0x4b6260
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x1a28]
call fcn.00517c00
test eax, eax
je 0x4b61e3
mov ecx, esi
call fcn.004b4200
test eax, eax
je 0x4b6260
lea ecx, [esi + 0x1efc]
call fcn.00517c00
test eax, eax
jne 0x4b5a40
lea ecx, [esi + 0x23d0]
call fcn.00517c00
test eax, eax
jne 0x4b6260
mov ecx, dword [0x7034d4]
test ecx, ecx
je 0x4b6260
mov edx, dword [ecx]
push 0x33
call dword [edx + 4]
test al, al
je 0x4b6260
lea ecx, [esi + 0x28a4]
call fcn.00517c00
test eax, eax
je 0x4b6243
mov byte [esi + 0x2947], 1
mov byte [esi + 0x2e1b], 0
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x2d78]
call fcn.00517c00
test eax, eax
je 0x4b6260
mov byte [esi + 0x2947], 0
mov byte [esi + 0x2e1b], 1
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret