Function at 0x4ff16c
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 0x4ffcee
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 + 0x65238c], 0
jne 0x4ffcc6
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.0040345c
lea edx, [ebp - 0x68]
xor eax, eax
mov al, byte [ebp - 5]
call fcn.004fff48
cmp dword [ebp - 0x68], 0
je 0x4ffcc6
mov eax, dword [ebp - 0x68]
mov edx, 0x4ffd08
call fcn.00405514
je 0x4ffcc6
lea eax, [ebp - 0x64]
xor edx, edx
mov dl, byte [ebp - 5]
mov edx, dword [edx*4 + 0xa7a554]
call fcn.004051a0
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 2
movzx eax, word [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 6
mov ax, word [eax]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xc
mov ax, word [eax]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xa
mov ax, word [eax]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 8
mov ax, word [eax]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x2a
mov ax, word [eax]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x2c
mov ax, word [eax]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x28
mov ax, word [eax]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x64]
call fcn.00405620
mov ax, word [eax]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x60
mov ax, word [eax]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x62
mov ax, word [eax]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x5e
mov ax, word [eax]
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xb0
mov ax, word [eax]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xa4
mov ax, word [eax]
mov word [ebp - 0x2a], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x6c
mov ax, word [eax]
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x6e
mov ax, word [eax]
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x70
mov ax, word [eax]
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xa0
mov ax, word [eax]
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xa6
mov ax, word [eax]
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x96
mov ax, word [eax]
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0x100
mov ax, word [eax]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x30], ax
lea eax, [ebp - 0x64]
call fcn.00405620
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 [0x4ffd10]
fcompp
fnstsw ax
sahf
jne 0x4ff42d
lea eax, [ebp - 0x64]
call fcn.00405620
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 [0x4ffd1c]
fnstsw ax
sahf
jbe 0x4ff3f7
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x48], ax
fld xword [ebp - 0x50]
fmul dword [0x4ffd1c]
fmul dword [0x4ffd1c]
fstp xword [ebp - 0x50]
wait
lea eax, [ebp - 0x64]
call fcn.00405620
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.00405620
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 0x4ff458
mov al, 3
test word [ebp - 4], 2
je 0x4ff462
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 0x4ff4e3
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3a]
jne 0x4ff4e3
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3c]
jne 0x4ff4e3
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3e]
jne 0x4ff4e3
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x39]
jne 0x4ff4e3
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3b]
jne 0x4ff4e3
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3d]
jne 0x4ff4e3
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x37]
mov edx, dword [ebp - 0x64]
cmp al, byte [edx + 0x3f]
jne 0x4ff4e3
mov byte [ebp - 0x69], 0
jmp 0x4ff68b
cmp word [ebp - 0x12], 0xffff
jne 0x4ff4f4
mov byte [ebp - 0x69], 0
jmp 0x4ff68b
movzx eax, word [ebp - 0x12]
cmp eax, dword [ebp - 0x3c]
jne 0x4ff50f
movzx eax, word [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jne 0x4ff50f
mov byte [ebp - 0x69], 0
jmp 0x4ff68b
cmp word [ebp - 0x16], 0
je 0x4ff51e
cmp word [ebp - 0x16], 0x2710
jbe 0x4ff57e
lea eax, [ebp - 0x78]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x64]
call fcn.00405628
mov eax, dword [ebp - 0x78]
mov edx, 0x4ffd28
call fcn.00405514
jne 0x4ff54b
mov word [ebp - 0x16], 0x248
jmp 0x4ff57e
lea eax, [ebp - 0x7c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x64]
call fcn.00405628
mov eax, dword [ebp - 0x7c]
mov edx, 0x4ffd34
call fcn.00405514
jne 0x4ff578
mov word [ebp - 0x16], 0x258
jmp 0x4ff57e
mov word [ebp - 0x16], 0x200
movzx eax, word [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jle 0x4ff58e
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ax, word [ebp - 0x2e]
cmp ax, word [ebp - 0x12]
jbe 0x4ff5a0
mov ax, word [ebp - 0x2e]
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x30]
cmp ax, word [ebp - 0x14]
jbe 0x4ff5b2
mov ax, word [ebp - 0x30]
mov word [ebp - 0x14], ax
cmp word [ebp - 0x12], 0
je 0x4ff5e9
cmp word [ebp - 0x14], 0
je 0x4ff5e9
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.00402d70
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jle 0x4ff5f7
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 0x4ff60b
add eax, 3
sar eax, 2
mov word [ebp - 0x1a], ax
fld xword [ebp - 0x50]
fcomp dword [0x4ffd38]
fnstsw ax
sahf
je 0x4ff641
fld xword [ebp - 0x50]
fdiv dword [0x4ffd3c]
movzx eax, word [ebp - 0x16]
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
fmulp st(1)
fdiv dword [0x4ffd3c]
fstp xword [ebp - 0x60]
wait
jmp 0x4ff68b
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 [0x4ffd3c]
movzx eax, word [ebp - 0x16]
mov dword [ebp - 0x88], eax
fild dword [ebp - 0x88]
fmulp st(1)
fdiv dword [0x4ffd3c]
fstp xword [ebp - 0x60]
wait
cmp byte [ebp - 0x69], 0
je 0x4ffcc0
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.00405620
add eax, 0x7e
mov ax, word [eax]
mov word [ebp - 0x10], ax
test byte [ebp - 0x10], 4
je 0x4ff715
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x22], 2
jmp 0x4ff731
test byte [ebp - 0x10], 2
je 0x4ff724
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x22], 1
jmp 0x4ff731
test byte [ebp - 0x10], 1
je 0x4ff731
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x22], 0
test byte [ebp - 0xf], 4
je 0x4ff740
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25], 2
jmp 0x4ff75c
test byte [ebp - 0xf], 2
je 0x4ff74f
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25], 1
jmp 0x4ff75c
test byte [ebp - 0xf], 1
je 0x4ff75c
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25], 0
lea eax, [ebp - 0x64]
call fcn.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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 0x4ff854
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 7
jmp 0x4ff8bb
test byte [ebp - 0x28], 0x40
je 0x4ff863
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 6
jmp 0x4ff8bb
test byte [ebp - 0x28], 0x20
je 0x4ff872
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 5
jmp 0x4ff8bb
test byte [ebp - 0x28], 0x10
je 0x4ff881
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 4
jmp 0x4ff8bb
test byte [ebp - 0x28], 8
je 0x4ff890
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 3
jmp 0x4ff8bb
test byte [ebp - 0x28], 4
je 0x4ff89f
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 2
jmp 0x4ff8bb
test byte [ebp - 0x28], 2
je 0x4ff8ae
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 1
jmp 0x4ff8bb
test byte [ebp - 0x28], 1
je 0x4ff8bb
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x21], 0
test byte [ebp - 0x27], 0x80
je 0x4ff8ca
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 7
jmp 0x4ff931
test byte [ebp - 0x27], 0x40
je 0x4ff8d9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 6
jmp 0x4ff931
test byte [ebp - 0x27], 0x20
je 0x4ff8e8
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 5
jmp 0x4ff931
test byte [ebp - 0x27], 0x10
je 0x4ff8f7
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 4
jmp 0x4ff931
test byte [ebp - 0x27], 8
je 0x4ff906
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 3
jmp 0x4ff931
test byte [ebp - 0x27], 4
je 0x4ff915
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 2
jmp 0x4ff931
test byte [ebp - 0x27], 2
je 0x4ff924
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 1
jmp 0x4ff931
test byte [ebp - 0x27], 1
je 0x4ff931
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x24], 0
test byte [ebp - 0x31], 1
je 0x4ff93f
mov eax, dword [ebp - 0xc]
mov byte [eax], 8
jmp 0x4ff991
test byte [ebp - 0x32], 0x80
je 0x4ff94d
mov eax, dword [ebp - 0xc]
mov byte [eax], 7
jmp 0x4ff991
test byte [ebp - 0x32], 0x40
je 0x4ff95b
mov eax, dword [ebp - 0xc]
mov byte [eax], 6
jmp 0x4ff991
test byte [ebp - 0x32], 0x20
je 0x4ff969
mov eax, dword [ebp - 0xc]
mov byte [eax], 5
jmp 0x4ff991
test byte [ebp - 0x32], 0x10
je 0x4ff977
mov eax, dword [ebp - 0xc]
mov byte [eax], 4
jmp 0x4ff991
test byte [ebp - 0x32], 8
je 0x4ff985
mov eax, dword [ebp - 0xc]
mov byte [eax], 3
jmp 0x4ff991
test byte [ebp - 0x32], 4
je 0x4ff991
mov eax, dword [ebp - 0xc]
mov byte [eax], 2
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xa2
mov ax, word [eax]
mov edx, dword [ebp - 0xc]
mov word [edx + 2], ax
xor eax, eax
push ebp
push 0x4ff9d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
call fcn.00405620
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 0x4ff9ea
fld xword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
fstp qword [eax + 0x28]
wait
fld xword [ebp - 0x60]
fcomp dword [0x4ffd40]
fnstsw ax
sahf
jae 0x4ffa10
fld xword [ebp - 0x60]
call fcn.00402d70
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 0x4ffa49
lea eax, [ebp - 0x64]
call fcn.00405620
add eax, 0xa4
test byte [eax], 0x40
jne 0x4ffa49
xor eax, eax
jmp 0x4ffa4b
mov al, 1
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x39], al
lea eax, [ebp - 0x64]
call fcn.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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.00405620
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 0x4ffcc0
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x25], 0
jne 0x4ffcc0
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x20], 2
jne 0x4ffc7c
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 3
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x20], 0
jne 0x4ffcb4
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x52], 0
jne 0x4ffcb4
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x54], 0
jne 0x4ffcb4
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x56], 0
jne 0x4ffcb4
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x58], 0
jne 0x4ffcb4
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 0x4ffcf5
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0040512c
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0040512c
ret