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

Disassembly:
push 0xffffffffffffffff
push 0x41b3a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
mov eax, dword [0x421140]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x100], eax
mov dword [esp + 0x10], edi
je 0x407245
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
jb 0x407245
mov eax, dword [edi + 0x34]
cmp eax, esi
je 0x407245
mov eax, dword [eax + 0x10]
cmp eax, 2
jge 0x407245
lea eax, [edi + 0x84]
mov dword [esp + 0xcc], eax
mov dword [eax], esi
mov al, byte [edi + 0x80]
test al, al
mov dword [esp + 0x60], esi
mov dword [esp + 0x94], 0xfffff1e0
mov byte [esp + 0x27], 7
mov byte [esp + 0x26], 7
mov dword [esp + 0x28], esi
mov dword [esp + 0x9c], 8
je 0x40648d
mov dword [esp + 0x28], 2
mov al, byte [edi + 0x81]
test al, al
je 0x40649c
or dword [esp + 0x28], 4
push ebx
push ebp
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x114], 1
call fcn.00405e90
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov ecx, dword [edi + 0x48]
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x118], 5
call fcn.004110a0
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [edi + 0x50]
call fcn.00410670
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc0]
mov dword [esp + 0x74], 0x38
mov esi, eax
je 0x4065cc
mov ebx, 0x10
mov ecx, dword [esi]
mov eax, dword [ecx]
mov ebp, dword [eax + 0x1c]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add eax, 4
cmp ebp, ebx
jb 0x406564
mov eax, dword [eax + 4]
jmp 0x406567
add eax, 4
test edi, edi
mov ecx, dword [ecx + 4]
mov dword [esp + 0xdc], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0xe4], eax
jne 0x406588
mov dword [esp + 0xe8], edi
jmp 0x406594
sub edx, edi
sar edx, 3
mov dword [esp + 0xe8], edx
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404ce0
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x40]
call fcn.00404ce0
mov eax, dword [esp + 0xc0]
add esi, 4
cmp esi, eax
jne 0x406549
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4065d0
xor eax, eax
jmp 0x4065d9
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 3
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x54]
lea edx, [ecx + eax*8]
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x6c], edx
mov esi, eax
je 0x40671e
mov edi, dword [esp + 0xdc]
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0xe4], 0
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x1c]
add eax, 4
cmp ecx, 0x10
jb 0x40662f
mov ecx, dword [eax + 4]
mov dword [esp + 0xdc], ecx
jmp 0x406639
add eax, 4
mov dword [esp + 0xdc], eax
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x4066a2
mov dword [esp + 0xe8], edx
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xdc]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.00403b40
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4066ec
mov ecx, dword [esp + 0x58]
mov eax, ebx
sub eax, edx
sub ecx, edx
sar eax, 3
sar ecx, 3
cmp eax, ecx
jae 0x4066ec
push ebp
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0xec]
push edx
push 1
push ebx
call fcn.00401fd0
add esp, 0x14
add ebx, 8
mov dword [esp + 0x54], ebx
jmp 0x406704
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, edx
sub ecx, edx
sar eax, 3
sar ecx, 3
cmp eax, ecx
mov dword [esp + 0xe8], eax
jae 0x406648
mov ecx, dword [esp + 0x24]
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xe4]
push eax
push 1
push ecx
call fcn.00401fd0
mov eax, dword [esp + 0x38]
add esp, 0x14
add eax, 8
mov dword [esp + 0x24], eax
jmp 0x406660
lea eax, [esp + 0xe4]
push eax
push 1
push ebx
lea ecx, [esp + 0x58]
call fcn.00403b40
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x80]
add esi, 4
cmp esi, eax
jne 0x406614
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x406722
xor eax, eax
jmp 0x406729
mov eax, ebx
sub eax, ecx
sar eax, 3
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x40]
lea eax, [ecx + eax*8]
lea esi, [eax + 2]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb4], eax
cmp edi, dword [esp + 0x44]
mov dword [esp + 0x14], esi
mov dword [esp + 0xb0], 0x1f
je 0x4067cf
add edi, 4
jmp 0x406770
mov ebp, dword [edi]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x60]
call fcn.00404c60
mov dword [eax], ebp
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [edi], esi
je 0x406932
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 3
cmp eax, ebp
jbe 0x406932
mov eax, dword [ecx + ebp*8]
lea edx, [eax + 1]
jmp 0x4067b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4067b0
mov ecx, dword [esp + 0x44]
sub eax, edx
add edi, 8
lea esi, [esi + eax + 1]
lea eax, [edi - 4]
cmp eax, ecx
mov dword [esp + 0x14], esi
jne 0x406770
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x40683b
add edi, 4
lea ebx, [ebx]
mov ebp, dword [edi]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x60]
call fcn.00404c60
mov dword [eax], ebp
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [edi], esi
je 0x40693b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 3
cmp eax, ebp
jbe 0x40693b
mov eax, dword [ecx + ebp*8]
lea edx, [eax + 1]
jmp 0x406820
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406820
sub eax, edx
add edi, 8
lea edx, [edi - 4]
cmp edx, ebx
lea esi, [esi + eax + 1]
mov dword [esp + 0x14], esi
jne 0x4067e0
mov eax, dword [esp + 0xd4]
mov dword [eax], esi
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 4]
mov edx, dword [eax + 8]
xor ecx, ecx
cmp ebp, edx
mov dword [esp + 0xac], esi
je 0x406884
mov edi, dword [eax + 0x78]
mov ebx, edx
mov edx, dword [ebp]
mov eax, dword [edx + 8]
add ecx, edi
cmp eax, dword [edx + 0xc]
je 0x406879
mov edx, dword [edx + 0xc]
add eax, 4
add ecx, edi
cmp eax, edx
jne 0x406870
add ebp, 4
cmp ebp, ebx
jne 0x406860
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x44]
add ecx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x44]
call fcn.0040d110
mov ebp, dword [esp + 0x70]
mov ecx, dword [esi + 0x7c]
add eax, ebp
add ecx, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], 0
mov byte [esp + 0xf0], 0
mov edx, dword [esp + 0x11c]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 6
call fcn.00402080
push 4
push 0
push str..asm
lea ecx, [esp + 0xf8]
call fcn.00401810
cmp eax, 0xffffffff
push 4
lea ecx, [esp + 0xf0]
push str..amx
je 0x406944
push 4
push eax
call fcn.00402a00
jmp 0x406949
lea ecx, [esp + 0x1c]
call fcn.00402f60
lea ecx, [esp + 0x1c]
call fcn.00402f60
call fcn.004028f0
cmp dword [esp + 0x104], 0x10
mov eax, dword [esp + 0xf0]
jae 0x406961
lea eax, [esp + 0xf0]
push 0x41d1b8
push eax
call fcn.004135af
mov ebp, eax
push ebp
push 1
lea eax, [esp + 0x78]
push 4
push eax
call fcn.00412c92
push ebp
push 1
lea ecx, [esp + 0xbc]
push 2
push ecx
call fcn.00412c92
push ebp
push 1
lea edx, [esp + 0x5f]
push 1
push edx
call fcn.00412c92
push ebp
push 1
lea eax, [esp + 0x6e]
push 1
push eax
call fcn.00412c92
add esp, 0x48
push ebp
push 1
lea ecx, [esp + 0x38]
push 2
push ecx
call fcn.00412c92
push ebp
push 1
lea edx, [esp + 0xbc]
push 2
push edx
call fcn.00412c92
push ebp
push 1
lea eax, [esp + 0xd4]
push 4
push eax
call fcn.00412c92
push ebp
push 1
lea ecx, [esp + 0xa8]
push 4
push ecx
call fcn.00412c92
add esp, 0x40
push ebp
push 1
lea edx, [esp + 0xa0]
push 4
push edx
call fcn.00412c92
push ebp
push 1
lea eax, [esp + 0xe0]
push 4
push eax
call fcn.00412c92
push ebp
push 1
lea ecx, [esp + 0xf8]
push 4
push ecx
call fcn.00412c92
push ebp
push 1
lea edx, [esp + 0xac]
push 4
push edx
call fcn.00412c92
add esp, 0x40
push ebp
push 1
lea eax, [esp + 0x74]
push 4
push eax
call fcn.00412c92
push ebp
push 1
lea ecx, [esp + 0xb8]
push 4
push ecx
call fcn.00412c92
push ebp
push 1
lea edx, [esp + 0xf4]
push 4
push edx
call fcn.00412c92
push ebp
push 1
lea eax, [esp + 0xe0]
push 4
push eax
call fcn.00412c92
add esp, 0x40
push ebp
push 1
lea ecx, [esp + 0xbc]
push 4
push ecx
call fcn.00412c92
mov esi, dword [esp + 0x50]
mov eax, esi
add esp, 0x10
cmp eax, edi
je 0x406ad3
lea ebx, [ebx]
push ebp
push 1
push 4
push esi
call fcn.00412c92
push ebp
push 1
lea edx, [esi + 4]
push 4
push edx
call fcn.00412c92
add esi, 8
add esp, 0x20
cmp esi, edi
jne 0x406ab0
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x406b03
jmp 0x406ae0
push ebp
push 1
push 4
push esi
call fcn.00412c92
push ebp
push 1
lea eax, [esi + 4]
push 4
push eax
call fcn.00412c92
add esi, 8
add esp, 0x20
cmp esi, ebx
jne 0x406ae0
push ebp
push 1
lea ecx, [esp + 0xb8]
push 2
push ecx
call fcn.00412c92
mov esi, dword [esp + 0x50]
mov eax, esi
add esp, 0x10
cmp eax, edi
je 0x406b83
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], edx
call fcn.00404c60
test edi, edi
mov ecx, dword [eax]
je 0x406b7a
mov eax, dword [esp + 0x24]
sub eax, edi
sar eax, 3
cmp eax, ecx
jbe 0x406b7a
mov edx, edi
mov ecx, dword [edx + ecx*8]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406b58
sub eax, edi
push ebp
inc eax
push eax
push 1
push ecx
call fcn.00412c92
mov eax, dword [esp + 0x54]
add esi, 8
add esp, 0x10
cmp esi, eax
jmp 0x406b20
lea ecx, [esp + 0x1c]
call fcn.00402f60
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x406be6
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], eax
call fcn.00404c60
test edi, edi
mov ecx, dword [eax]
je 0x406bdd
mov eax, dword [esp + 0x24]
sub eax, edi
sar eax, 3
cmp eax, ecx
jbe 0x406bdd
mov edx, edi
mov ecx, dword [edx + ecx*8]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406bc1
sub eax, edi
push ebp
inc eax
push eax
push 1
push ecx
call fcn.00412c92
add esp, 0x10
add esi, 8
jmp 0x406b87
lea ecx, [esp + 0x1c]
call fcn.00402f60
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
cmp ecx, eax
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], ecx
je 0x406ea7
jmp 0x406c10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov cl, byte [edx + 0x81]
test cl, cl
mov dword [esp + 0x34], eax
mov byte [esp + 0xdc], 0
mov byte [esp + 0xdd], 0
mov byte [esp + 0xde], 0
mov byte [esp + 0xdf], 0
mov byte [esp + 0xe0], 0
mov byte [esp + 0x13], 0
je 0x406d1a
xor esi, esi
lea ecx, [ecx]
mov cl, al
and cl, 0x7f
shr eax, 7
mov byte [esp + esi + 0xdc], cl
inc esi
cmp esi, 5
jl 0x406c60
cmp esi, 1
jle 0x406c98
lea eax, [esp + 0xdc]
dec eax
cmp byte [eax + esi], 0
jne 0x406c98
test byte [esp + esi + 0xda], 0x40
jne 0x406c98
dec esi
cmp esi, 1
jg 0x406c82
cmp esi, 5
jne 0x406cb8
cmp byte [esp + 0xe0], 0xf
jne 0x406cbd
test byte [esp + 0xdf], 0x40
je 0x406cbd
mov esi, 4
jmp 0x406cbd
cmp esi, 1
jle 0x406cdb
lea eax, [esp + 0xdc]
dec eax
cmp byte [eax + esi], 0x7f
jne 0x406cdb
test byte [esp + esi + 0xda], 0x40
je 0x406cdb
dec esi
cmp esi, 1
jg 0x406cc5
test esi, esi
jle 0x406d33
nop
dec esi
jne 0x406cf0
mov dl, byte [esp + esi + 0xdc]
mov byte [esp + 0x13], dl
jmp 0x406cfd
mov al, byte [esp + esi + 0xdc]
or al, 0x80
mov byte [esp + 0x13], al
push ebp
push 1
lea ecx, [esp + 0x1b]
push 1
push ecx
call fcn.00412c92
mov ecx, dword [edi]
add esp, 0x10
inc ecx
test esi, esi
mov dword [edi], ecx
jg 0x406ce0
jmp 0x406d33
push ebp
push 1
lea edx, [esp + 0x3c]
push 4
push edx
call fcn.00412c92
mov eax, dword [edi]
add esp, 0x10
add eax, 4
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
cmp ebx, dword [eax + 0xc]
je 0x406e8b
jmp 0x406d50
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx + 0x81]
test dl, dl
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
mov byte [esp + 0xd4], 0
mov byte [esp + 0xd5], 0
mov byte [esp + 0xd6], 0
mov byte [esp + 0xd7], 0
mov byte [esp + 0xd8], 0
mov byte [esp + 0x13], 0
je 0x406e5b
xor esi, esi
mov dl, al
and dl, 0x7f
shr eax, 7
mov byte [esp + esi + 0xd4], dl
inc esi
cmp esi, 5
jl 0x406d97
cmp esi, 1
jle 0x406dd6
lea eax, [esp + 0xd4]
dec eax
lea esp, [esp]
cmp byte [eax + esi], 0
jne 0x406dd6
test byte [esp + esi + 0xd2], 0x40
jne 0x406dd6
dec esi
cmp esi, 1
jg 0x406dc0
cmp esi, 5
jne 0x406df6
cmp byte [esp + 0xd8], 0xf
jne 0x406dfb
test byte [esp + 0xd7], 0x40
je 0x406dfb
mov esi, 4
jmp 0x406dfb
cmp esi, 1
jle 0x406e19
lea eax, [esp + 0xd4]
dec eax
cmp byte [eax + esi], 0x7f
jne 0x406e19
test byte [esp + esi + 0xd2], 0x40
je 0x406e19
dec esi
cmp esi, 1
jg 0x406e03
test esi, esi
jle 0x406e74
lea ecx, [ecx]
dec esi
jne 0x406e30
mov al, byte [esp + esi + 0xd4]
mov byte [esp + 0x13], al
jmp 0x406e3e
mov cl, byte [esp + esi + 0xd4]
or cl, 0x80
mov byte [esp + 0x13], cl
push ebp
push 1
lea edx, [esp + 0x1b]
push 1
push edx
call fcn.00412c92
mov ecx, dword [edi]
add esp, 0x10
inc ecx
test esi, esi
mov dword [edi], ecx
jg 0x406e20
jmp 0x406e74
push ebp
push 1
lea eax, [esp + 0x3c]
push 4
push eax
call fcn.00412c92
mov eax, dword [edi]
add esp, 0x10
add eax, 4
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [eax + 0xc]
add eax, 4
add ebx, 4
cmp ebx, ecx
jne 0x406d50
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x406c10
mov ebx, edx
xor esi, esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov ecx, dword [ebx + 0x44]
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x118], 7
call fcn.00410670
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x38], esi
mov esi, eax
mov dword [esp + 0x14], esi
je 0x4070e8
jmp 0x406f00
mov esi, dword [esp + 0x14]
lea ebx, [ebx]
mov eax, dword [esi]
mov cl, byte [eax + 0x50]
test cl, cl
je 0x40709d
lea ecx, [eax + 0x1c]
call fcn.004119b0
mov ecx, dword [esi]
add ecx, 0x1c
cmp eax, 6
jne 0x406f3f
call fcn.004119e0
push ebp
push 1
lea ecx, [esp + 0x40]
push 4
push ecx
mov dword [esp + 0x48], eax
call fcn.00412c92
add esp, 0x10
jmp 0x4070ca
push 0
call fcn.00411a20
mov ecx, dword [esi]
add ecx, 0x1c
mov dword [esp + 0xd4], eax
xor ebx, ebx
call fcn.004119c0
test eax, eax
jle 0x4070ca
mov edx, dword [esp + 0xd4]
movsx eax, byte [ebx + edx]
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx + 0x81]
test dl, dl
mov dword [esp + 0x38], eax
mov byte [esp + 0xe4], 0
mov byte [esp + 0xe5], 0
mov byte [esp + 0xe6], 0
mov byte [esp + 0xe7], 0
mov byte [esp + 0xe8], 0
mov byte [esp + 0x13], 0
je 0x40706b
xor esi, esi
mov dl, al
and dl, 0x7f
shr eax, 7
mov byte [esp + esi + 0xe4], dl
inc esi
cmp esi, 5
jl 0x406fb1
cmp esi, 1
jle 0x406fe9
lea eax, [esp + 0xe4]
dec eax
cmp byte [eax + esi], 0
jne 0x406fe9
test byte [esp + esi + 0xe2], 0x40
jne 0x406fe9
dec esi
cmp esi, 1
jg 0x406fd3
cmp esi, 5
jne 0x407009
cmp byte [esp + 0xe8], 0xf
jne 0x40700e
test byte [esp + 0xe7], 0x40
je 0x40700e
mov esi, 4
jmp 0x40700e
cmp esi, 1
jle 0x40702c
lea eax, [esp + 0xe4]
dec eax
cmp byte [eax + esi], 0x7f
jne 0x40702c
test byte [esp + esi + 0xe2], 0x40
je 0x40702c
dec esi
cmp esi, 1
jg 0x407016
test esi, esi
jle 0x407084
dec esi
jne 0x407040
mov al, byte [esp + esi + 0xe4]
mov byte [esp + 0x13], al
jmp 0x40704e
mov cl, byte [esp + esi + 0xe4]
or cl, 0x80
mov byte [esp + 0x13], cl
push ebp
push 1
lea edx, [esp + 0x1b]
push 1
push edx
call fcn.00412c92
mov ecx, dword [edi]
add esp, 0x10
inc ecx
test esi, esi
mov dword [edi], ecx
jg 0x407030
jmp 0x407084
push ebp
push 1
lea eax, [esp + 0x40]
push 4
push eax
call fcn.00412c92
mov eax, dword [edi]
add esp, 0x10
add eax, 4
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
add ecx, 0x1c
inc ebx
call fcn.004119c0
cmp ebx, eax
jl 0x406f61
jmp 0x4070ca
mov edx, dword [ebx + 0x44]
mov cl, byte [edx + 0x1c]
test cl, cl
jne 0x4070e8
mov ecx, dword [eax + 0x58]
mov dword [esp + 0xdc], ecx
lea ecx, [eax + 0x1c]
call fcn.004119e0
push eax
lea edx, [esp + 0xe0]
push edx
push ebp
mov ecx, ebx
call fcn.00401070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x18]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x406ef6
mov al, byte [ebx + 0x81]
xor esi, esi
test al, al
je 0x407113
push esi
push esi
push ebp
call fcn.004134f7
push ebp
push 1
push 4
push edi
call fcn.00412c92
push 2
push esi
push ebp
call fcn.004134f7
add esp, 0x28
push ebp
call fcn.004134a1
mov eax, dword [esp + 0x90]
add esp, 4
cmp eax, esi
je 0x407130
push eax
call fcn.00412c8d
add esp, 4
cmp dword [esp + 0x104], 0x10
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
jb 0x40715f
mov eax, dword [esp + 0xf0]
push eax
call fcn.00412c8d
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, esi
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], esi
mov byte [esp + 0xf0], 0
je 0x40718a
push eax
call fcn.00412c8d
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x40719b
push eax
call fcn.00412c8d
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x4071ac
push eax
call fcn.00412c8d
add esp, 4
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x120], 1
call fcn.00403a80
mov edx, dword [esp + 0x60]
push edx
call fcn.00412c8d
mov eax, dword [esp + 0x80]
add esp, 4
cmp eax, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x4071f6
push eax
call fcn.00412c8d
add esp, 4
mov eax, dword [esp + 0xbc]
cmp eax, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
je 0x40721c
push eax
call fcn.00412c8d
add esp, 4
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x104]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xfc]
pop esi
call fcn.00412dca
add esp, 0x108
ret 4
xor al, al
jmp 0x407220