Function at 0x577430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0xc], edx
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x578024
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov al, byte [ebp - 5]
cmp byte [eax + 0xc748ac], 0
jne 0x577ffc
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x58], ax
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 0x60
call fcn.00403450
lea edx, [ebp - 0x68]
xor eax, eax
mov al, byte [ebp - 5]
call fcn.00580d30
cmp dword [ebp - 0x68], 0
je 0x577ffc
mov eax, dword [ebp - 0x68]
mov edx, 0x578040
call fcn.00405694
je 0x577ffc
lea eax, [ebp - 0x64]
xor edx, edx
mov dl, byte [ebp - 5]
mov edx, dword [edx*4 + 0x10a7fb4]
call fcn.00405310
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 2
movzx eax, word [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 6
mov ax, word [eax]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xc
mov ax, word [eax]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xa
mov ax, word [eax]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 8
mov ax, word [eax]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x2a
mov ax, word [eax]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x2c
mov ax, word [eax]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x28
mov ax, word [eax]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
mov ax, word [eax]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x60
mov ax, word [eax]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x62
mov ax, word [eax]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x5e
mov ax, word [eax]
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xb0
mov ax, word [eax]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xa4
mov ax, word [eax]
mov word [ebp - 0x2a], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x6c
mov ax, word [eax]
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x6e
mov ax, word [eax]
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x70
mov ax, word [eax]
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xa0
mov ax, word [eax]
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xa6
mov ax, word [eax]
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x96
mov ax, word [eax]
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x100
mov ax, word [eax]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x30], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x78
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x70], eax
fild qword [ebp - 0x74]
fstp xword [ebp - 0x50]
wait
fld xword [ebp - 0x50]
fld xword [0x578048]
fcompp
fnstsw ax
sahf
jne 0x5776f1
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xcc
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x70], eax
fild qword [ebp - 0x74]
fstp xword [ebp - 0x50]
wait
fld xword [ebp - 0x50]
fcomp dword [0x578054]
fnstsw ax
sahf
jbe 0x5776bb
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x48], ax
fld xword [ebp - 0x50]
fmul dword [0x578054]
fmul dword [0x578054]
fstp xword [ebp - 0x50]
wait
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xc8
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x70], eax
fild qword [ebp - 0x74]
fld xword [ebp - 0x50]
faddp st(1)
fstp xword [ebp - 0x50]
wait
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x67]
mov byte [ebp - 1], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x80
mov ax, word [eax]
mov word [ebp - 4], ax
push eax
mov al, byte [ebp - 1]
test word [ebp - 4], 1
je 0x57771c
mov al, 3
test word [ebp - 4], 2
je 0x577726
mov al, 4
mov byte [ebp - 1], al
pop eax
mov byte [ebp - 0x69], 1
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x38]
jne 0x5777a7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3a]
jne 0x5777a7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3c]
jne 0x5777a7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3e]
jne 0x5777a7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x39]
jne 0x5777a7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3b]
jne 0x5777a7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3d]
jne 0x5777a7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3f]
jne 0x5777a7
mov byte [ebp - 0x69], 0
jmp 0x577997
cmp word [ebp - 0x12], 0xffff
jne 0x5777b8
mov byte [ebp - 0x69], 0
jmp 0x577997
movzx eax, word [ebp - 0x12]
cmp eax, dword [ebp - 0x3c]
jne 0x5777d3
movzx eax, word [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jne 0x5777d3
mov byte [ebp - 0x69], 0
jmp 0x577997
cmp word [ebp - 0x16], 0
je 0x5777e2
cmp word [ebp - 0x16], 0x2710
jbe 0x577842
lea eax, [ebp - 0x78]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x64]
call fcn.004057a8
mov eax, dword [ebp - 0x78]
mov edx, 0x578060
call fcn.00405694
jne 0x57780f
mov word [ebp - 0x16], 0x248
jmp 0x577842
lea eax, [ebp - 0x7c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x64]
call fcn.004057a8
mov eax, dword [ebp - 0x7c]
mov edx, 0x57806c
call fcn.00405694
jne 0x57783c
mov word [ebp - 0x16], 0x258
jmp 0x577842
mov word [ebp - 0x16], 0x200
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xd4
mov ax, word [eax]
mov word [ebp - 0x10], ax
test byte [ebp - 0xf], 0x10
je 0x57788a
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xea
mov ax, word [eax]
mov word [ebp - 0x10], ax
cmp word [ebp - 0x10], 0x100
jb 0x57788a
cmp word [ebp - 0x10], 0x8000
jae 0x57788a
mov ax, word [ebp - 0x10]
add eax, eax
mov word [ebp - 0x16], ax
movzx eax, word [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jle 0x57789a
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ax, word [ebp - 0x2e]
cmp ax, word [ebp - 0x12]
jbe 0x5778ac
mov ax, word [ebp - 0x2e]
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x30]
cmp ax, word [ebp - 0x14]
jbe 0x5778be
mov ax, word [ebp - 0x30]
mov word [ebp - 0x14], ax
cmp word [ebp - 0x12], 0
je 0x5778f5
cmp word [ebp - 0x14], 0
je 0x5778f5
movzx eax, word [ebp - 0x12]
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
fld xword [ebp - 0x50]
fdivrp st(1)
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x84], eax
fild dword [ebp - 0x84]
fdivp st(1)
call fcn.00402d64
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jle 0x577903
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x1a]
movzx edx, word [ebp - 0x16]
shr edx, 8
imul edx
test eax, eax
jns 0x577917
add eax, 3
sar eax, 2
mov word [ebp - 0x1a], ax
fld xword [ebp - 0x50]
fcomp dword [0x578070]
fnstsw ax
sahf
je 0x57794d
fld xword [ebp - 0x50]
fdiv dword [0x578074]
movzx eax, word [ebp - 0x16]
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
fmulp st(1)
fdiv dword [0x578074]
fstp xword [ebp - 0x60]
wait
jmp 0x577997
fild dword [ebp - 0x3c]
fstp xword [ebp - 0x60]
wait
movzx eax, word [ebp - 0x12]
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
fld xword [ebp - 0x60]
fmulp st(1)
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x84], eax
fild dword [ebp - 0x84]
fmulp st(1)
fdiv dword [0x578074]
movzx eax, word [ebp - 0x16]
mov dword [ebp - 0x88], eax
fild dword [ebp - 0x88]
fmulp st(1)
fdiv dword [0x578074]
fstp xword [ebp - 0x60]
wait
cmp byte [ebp - 0x69], 0
je 0x577ff6
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x12]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x14]
mov word [eax + 0xe], dx
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x16]
mov word [eax + 0x10], dx
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x18]
mov word [eax + 0x12], dx
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x1a]
mov word [eax + 0x14], dx
mov al, byte [ebp - 0x26]
and al, 0xff
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x16], al
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x1c]
mov word [eax + 0x18], dx
mov eax, dword [ebp - 0xc]
mov dl, byte [ebp - 1]
mov byte [eax + 0x20], dl
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x7e
mov ax, word [eax]
mov word [ebp - 0x10], ax
test byte [ebp - 0x10], 4
je 0x577a21
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x22], 2
jmp 0x577a3d
test byte [ebp - 0x10], 2
je 0x577a30
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x22], 1
jmp 0x577a3d
test byte [ebp - 0x10], 1
je 0x577a3d
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x22], 0
test byte [ebp - 0xf], 4
je 0x577a4c
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25], 2
jmp 0x577a68
test byte [ebp - 0xf], 2
je 0x577a5b
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25], 1
jmp 0x577a68
test byte [ebp - 0xf], 1
je 0x577a68
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25], 0
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x62
mov ax, word [eax]
mov word [ebp - 0x10], ax
test byte [ebp - 0xf], 8
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x36], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x82
mov ax, word [eax]
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x10]
mov word [eax + 0x52], dx
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x84
mov ax, word [eax]
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x10]
mov word [eax + 0x54], dx
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x86
mov ax, word [eax]
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x10]
mov word [eax + 0x56], dx
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x88
mov ax, word [eax]
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x10]
mov word [eax + 0x58], dx
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xb2
mov ax, word [eax]
mov word [ebp - 0x10], ax
and word [ebp - 0x10], 0x7fff
mov ax, word [ebp - 0x10]
add eax, eax
mov edx, dword [ebp - 0xc]
mov word [edx + 0x32], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xb4
mov ax, word [eax]
mov word [ebp - 0x10], ax
and word [ebp - 0x10], 0x7fff
mov ax, word [ebp - 0x10]
add eax, eax
mov edx, dword [ebp - 0xc]
mov word [edx + 0x34], ax
test byte [ebp - 0x28], 0x80
je 0x577b60
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 7
jmp 0x577bc7
test byte [ebp - 0x28], 0x40
je 0x577b6f
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 6
jmp 0x577bc7
test byte [ebp - 0x28], 0x20
je 0x577b7e
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 5
jmp 0x577bc7
test byte [ebp - 0x28], 0x10
je 0x577b8d
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 4
jmp 0x577bc7
test byte [ebp - 0x28], 8
je 0x577b9c
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 3
jmp 0x577bc7
test byte [ebp - 0x28], 4
je 0x577bab
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 2
jmp 0x577bc7
test byte [ebp - 0x28], 2
je 0x577bba
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 1
jmp 0x577bc7
test byte [ebp - 0x28], 1
je 0x577bc7
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 0
test byte [ebp - 0x27], 0x80
je 0x577bd6
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 7
jmp 0x577c3d
test byte [ebp - 0x27], 0x40
je 0x577be5
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 6
jmp 0x577c3d
test byte [ebp - 0x27], 0x20
je 0x577bf4
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 5
jmp 0x577c3d
test byte [ebp - 0x27], 0x10
je 0x577c03
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 4
jmp 0x577c3d
test byte [ebp - 0x27], 8
je 0x577c12
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 3
jmp 0x577c3d
test byte [ebp - 0x27], 4
je 0x577c21
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 2
jmp 0x577c3d
test byte [ebp - 0x27], 2
je 0x577c30
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 1
jmp 0x577c3d
test byte [ebp - 0x27], 1
je 0x577c3d
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 0
test byte [ebp - 0x31], 8
je 0x577c4b
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xb
jmp 0x577cc7
test byte [ebp - 0x31], 4
je 0x577c59
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xa
jmp 0x577cc7
test byte [ebp - 0x31], 2
je 0x577c67
mov eax, dword [ebp - 0xc]
mov byte [eax], 9
jmp 0x577cc7
test byte [ebp - 0x31], 1
je 0x577c75
mov eax, dword [ebp - 0xc]
mov byte [eax], 8
jmp 0x577cc7
test byte [ebp - 0x32], 0x80
je 0x577c83
mov eax, dword [ebp - 0xc]
mov byte [eax], 7
jmp 0x577cc7
test byte [ebp - 0x32], 0x40
je 0x577c91
mov eax, dword [ebp - 0xc]
mov byte [eax], 6
jmp 0x577cc7
test byte [ebp - 0x32], 0x20
je 0x577c9f
mov eax, dword [ebp - 0xc]
mov byte [eax], 5
jmp 0x577cc7
test byte [ebp - 0x32], 0x10
je 0x577cad
mov eax, dword [ebp - 0xc]
mov byte [eax], 4
jmp 0x577cc7
test byte [ebp - 0x32], 8
je 0x577cbb
mov eax, dword [ebp - 0xc]
mov byte [eax], 3
jmp 0x577cc7
test byte [ebp - 0x32], 4
je 0x577cc7
mov eax, dword [ebp - 0xc]
mov byte [eax], 2
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xa2
mov ax, word [eax]
mov edx, dword [ebp - 0xc]
mov word [edx + 2], ax
xor eax, eax
push ebp
push 0x577d0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x1bc
mov ax, word [eax]
mov edx, dword [ebp - 0xc]
mov word [edx + 4], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x577d20
fld xword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
fstp qword [eax + 0x28]
wait
fld xword [ebp - 0x60]
fcomp dword [0x578078]
fnstsw ax
sahf
jae 0x577d46
fld xword [ebp - 0x60]
call fcn.00402d64
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], eax
cmp word [ebp - 0x1e], 1
seta al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x37], al
cmp word [ebp - 0x1e], 1
seta al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x38], al
cmp word [ebp - 0x1e], 2
ja 0x577d7f
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xa4
test byte [eax], 0x40
jne 0x577d7f
xor eax, eax
jmp 0x577d81
mov al, 1
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x39], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xaa
test byte [eax], 0x40
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x3a], al
mov ax, word [ebp - 0x20]
and ax, 0x40
cmp ax, 0x40
sete al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x3b], al
mov ax, word [ebp - 0x20]
and ax, 4
cmp ax, 4
sete al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x3c], al
mov ax, word [ebp - 0x20]
and ax, 2
cmp ax, 2
sete al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x3d], al
cmp word [ebp - 0x22], 0
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x3f], al
mov ax, word [ebp - 0x24]
and ax, 0x100
cmp ax, 0x100
sete al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x40], al
test byte [ebp - 0x20], 8
sete al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x3e], al
test byte [ebp - 0x28], 0xff
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x41], al
test byte [ebp - 0x2a], 1
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x42], al
test byte [ebp - 0x2a], 2
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x43], al
test byte [ebp - 0x2a], 8
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x44], al
test byte [ebp - 0x2a], 0x20
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x45], al
test byte [ebp - 0x29], 4
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x46], al
test byte [ebp - 0x34], 0x20
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x48], al
test byte [ebp - 0x33], 2
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x49], al
test byte [ebp - 0x33], 4
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x4a], al
test byte [ebp - 0x34], 2
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x4c], al
test byte [ebp - 0x33], 8
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x4b], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x152
cmp word [eax], 0
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x4d], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x152
test byte [eax], 1
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x4e], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x8a
test byte [eax + 1], 0x40
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x4f], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0x8a
test byte [eax + 1], 0x80
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x50], al
mov al, byte [ebp - 0x36]
and al, 0x1f
inc eax
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x26], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xa6
test byte [eax], 8
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x47], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xac
test byte [eax], 8
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x5a], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xb6
mov ax, word [eax]
and ax, 0xff
mov edx, dword [ebp - 0xc]
mov word [edx + 0x5e], ax
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xee
test byte [eax], 0x80
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x5b], al
lea eax, [ebp - 0x64]
call fcn.004057a0
add eax, 0xf0
test byte [eax], 0x80
setne al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x5c], al
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x24], 0
jne 0x577ff6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x25], 0
jne 0x577ff6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x20], 2
jne 0x577fb2
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 3
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x20], 0
jne 0x577fea
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x52], 0
jne 0x577fea
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x54], 0
jne 0x577fea
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x56], 0
jne 0x577fea
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x58], 0
jne 0x577fea
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 3
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x20]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x23], al
mov al, byte [ebp - 0x69]
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57802b
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0040529c
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0040529c
ret