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

Disassembly:
push 0xffffffffffffffff
push 0x4466e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov eax, dword [esp + 0x94]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [ebp + 0x60], eax
mov edi, dword [eax + 0x5cc]
mov dword [esp + 0x24], edi
push edi
call fcn.0042ad78
mov ebx, eax
add esp, 4
cmp ebx, 0xd
je 0x40e1f5
cmp ebx, 0xa
je 0x40e1f5
cmp ebx, 0x20
je 0x40e1f5
push edi
call fcn.0042abc1
add esp, 4
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x60]
mov esi, 1
mov ecx, dword [eax]
mov byte [ecx], bl
push edi
call fcn.0042ad78
mov edx, dword [ebp + 0x60]
add esp, 4
inc esi
mov ecx, dword [edx]
cmp esi, 4
mov byte [ecx + esi - 1], al
jl 0x40e229
mov eax, dword [ebp + 0x60]
mov edx, 0x45545c
mov ecx, dword [eax]
mov esi, dword [edx]
mov ecx, dword [ecx]
cmp ecx, esi
je 0x40e283
mov eax, dword [eax + 8]
test eax, eax
jne 0x40e25f
mov eax, 0x449154
push ebp
push 0x458a60
push 0x458a60
push eax
call fcn.0040f2d0
mov eax, dword [ebp + 4]
add esp, 0x10
test eax, eax
jne 0x40ef47
jmp 0x40ef5f
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
add ecx, 4
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
push 0
push edx
push edi
call fcn.0042a8a2
add esp, 0xc
xor esi, esi
push edi
call fcn.0042ad78
add esp, 4
cmp eax, 0xffffffff
je 0x40ef43
mov ecx, dword [ebp + 0x60]
inc esi
cmp esi, 0x23
mov edx, dword [ecx]
mov byte [edx + esi - 1], al
jl 0x40e2a8
mov eax, dword [ebp + 0x60]
push 7
push 0x455454
mov ecx, dword [eax]
push ecx
call fcn.0042aa60
add esp, 0xc
test eax, eax
je 0x40e490
mov edx, dword [ebp + 0x60]
mov esi, dword [edx]
movsx eax, byte [esi]
push eax
call fcn.0042ab10
add esp, 4
test eax, eax
je 0x40e30d
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.0042ab10
add esp, 4
test eax, eax
jne 0x40e2fb
mov al, byte [esi]
cmp al, 0x30
jl 0x40e31f
cmp al, 0x39
jg 0x40e31f
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jge 0x40e313
movsx edx, byte [esi]
push edx
call fcn.0042ab10
add esp, 4
test eax, eax
je 0x40e341
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0042ab10
add esp, 4
test eax, eax
jne 0x40e32f
push esi
call fcn.00429b50
mov ebx, eax
mov al, byte [esi]
add esp, 4
cmp al, 0x30
jl 0x40e35e
cmp al, 0x39
jg 0x40e35e
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jge 0x40e352
movsx ecx, byte [esi]
push ecx
call fcn.0042ab10
add esp, 4
test eax, eax
je 0x40e380
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.0042ab10
add esp, 4
test eax, eax
jne 0x40e36e
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
cmp esi, eax
jne 0x40e42d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x40ef43
push 6
push 0x45544c
push eax
mov dword [esp + 0x28], 1
call fcn.0042aa60
add esp, 0xc
test eax, eax
je 0x40e446
mov esi, dword [esp + 0x24]
push 2
push 0xfffffc00
push esi
call fcn.0042a8a2
push esi
call fcn.0042abc1
mov edx, dword [ebp + 0x60]
mov esi, eax
mov ecx, 0x12d
xor eax, eax
mov edi, dword [edx]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x60]
push eax
push 0x3ff
mov edx, dword [ecx]
push 1
push edx
call fcn.00429ef8
mov eax, dword [ebp + 0x60]
push 0x455454
push 0x400
mov ecx, dword [eax]
push ecx
call fcn.00408cb0
add esp, 0x2c
test eax, eax
je 0x40ef43
mov edx, dword [ebp + 0x60]
mov edi, dword [edx]
sub esi, edi
mov edi, dword [esp + 0x24]
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x40e296
lea ecx, [ebx + ebx*4]
shl ecx, 2
sub ecx, eax
mov eax, dword [esp + 0x10]
add ecx, esi
add eax, ecx
mov dword [esp + 0x10], eax
jmp 0x40e296
mov edx, dword [esp + 0x14]
push 0
push edx
push edi
call fcn.0042a8a2
add esp, 0xc
mov eax, dword [ebp + 0x60]
push edi
push 0x4b000
mov ecx, dword [eax]
push ecx
call fcn.00408c10
mov edx, dword [ebp + 0x60]
push 7
push 0x455454
mov eax, dword [edx]
push eax
call fcn.0042aa60
add esp, 0x18
test eax, eax
jne 0x40e456
push edi
call fcn.0042abc1
add esp, 4
sub eax, 7
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
add eax, 7
push ebx
push eax
push edi
call fcn.0042a8a2
mov ecx, dword [ebp + 0x60]
push 7
push 0x455454
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
mov dword [esp + 0x8c], 0xffffffff
push edx
call fcn.0042aa60
add esp, 0x18
test eax, eax
jne 0x40e77b
lea ecx, [esp + 0x50]
call fcn.0040f610
mov eax, dword [ebp + 0x60]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0xa0], ebx
call fcn.0040f800
lea ecx, [esp + 0x50]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 1
call fcn.0040fd90
cmp dword [esp + 0x60], ebx
jne 0x40e750
push 0x455448
lea ecx, [esp + 0x54]
call fcn.0040f6a0
push 0x455440
lea ecx, [esp + 0x54]
mov edi, eax
call fcn.0040f6a0
test eax, eax
je 0x40e544
cmp eax, edi
jae 0x40e544
cmp dword [ebp + 0x64], 0xffffffff
jne 0x40e544
push eax
call fcn.00429b50
add esp, 4
mov dword [ebp + 0x64], eax
push 0x454bfc
lea ecx, [esp + 0x54]
call fcn.0040f6a0
mov esi, eax
test esi, esi
je 0x40e58a
cmp esi, edi
jae 0x40e58a
push 4
push 0x455438
push esi
call fcn.0042aa60
add esp, 0xc
test eax, eax
jne 0x40e577
xor esi, esi
mov dword [ebp + 0x70], esi
jmp 0x40e58c
push esi
mov dword [ebp + 0x70], 1
call fcn.00429b50
add esp, 4
mov dword [ebp + 0x6c], eax
xor esi, esi
push 0x455430
lea ecx, [esp + 0x54]
call fcn.0040f6a0
cmp eax, esi
je 0x40e5b4
cmp eax, edi
jae 0x40e5b4
cmp dword [ebp + 0x68], 0xffffffff
jne 0x40e5b4
push eax
call fcn.00429b50
add esp, 4
mov dword [ebp + 0x68], eax
push 0x455428
lea ecx, [esp + 0x54]
call fcn.0040f6a0
cmp eax, esi
je 0x40e5d9
cmp eax, edi
jae 0x40e5d9
push eax
call fcn.00429b50
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
push 0x455420
lea ecx, [esp + 0x54]
call fcn.0040f6a0
cmp eax, esi
je 0x40e605
cmp eax, edi
jae 0x40e605
push eax
call fcn.00429b50
mov edx, dword [ebp + 0x60]
add esp, 4
add eax, dword [edx + 0x644]
mov dword [esp + 0x78], eax
push 0x45541c
lea ecx, [esp + 0x54]
call fcn.0040f6a0
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x40e752
cmp eax, edi
jae 0x40e752
cmp byte [eax], 0x5b
je 0x40e637
cmp byte [eax - 1], 0x5b
jne 0x40e637
dec eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x40e65d
cmp cl, 0x20
je 0x40e651
cmp cl, 0xd
je 0x40e651
cmp cl, 0xa
je 0x40e651
cmp cl, 0x5b
jne 0x40e659
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e63d
mov dword [esp + 0x10], eax
mov edi, 0x458a60
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, edx
push ebx
call fcn.00406d00
test al, al
je 0x40e6a2
mov edi, dword [ebp + 0x14]
mov ecx, ebx
mov eax, ecx
mov esi, 0x458a60
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], ebx
add ebx, eax
mov byte [ebx], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040dd70
mov cl, byte [eax]
add esp, 0x10
test cl, cl
mov dword [esp + 0x10], eax
je 0x40e6ec
cmp cl, 0x3e
je 0x40e6e0
cmp cl, 0x20
je 0x40e6e0
cmp cl, 0xd
je 0x40e6e0
cmp cl, 0xa
je 0x40e6e0
cmp cl, 0x5b
jne 0x40e6e8
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e6c7
mov dword [esp + 0x10], eax
mov edi, 0x458a60
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, edx
push ebx
call fcn.00406d00
test al, al
je 0x40e731
mov edi, dword [ebp + 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x458a60
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x28], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
push eax
push ecx
lea eax, [ebp + 0x20]
push edx
push eax
call fcn.0040dd70
mov ebx, dword [esp + 0x2c]
add esp, 0x10
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 0
call fcn.0040fef0
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0040f630
cmp ebx, esi
jne 0x40e782
xor eax, eax
jmp 0x40ef5f
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x40e7ab
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x40e905
xor esi, esi
cmp ecx, esi
jne 0x40e7af
xor edi, edi
jmp 0x40e7c7
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x3c], esi
mov byte [esp + 0x38], dl
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], 0x6e
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 1
cmp ecx, esi
mov dword [esp + 0x9c], 2
jne 0x40e80f
xor edx, edx
jmp 0x40e825
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebx
jae 0x40e85c
cmp ecx, esi
jne 0x40e831
xor edx, edx
jmp 0x40e847
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x28]
sub ebx, edx
push ecx
push ebx
push eax
mov ecx, ebp
call fcn.0040d2c0
jmp 0x40e88b
cmp ecx, esi
je 0x40e88b
mov esi, dword [ebp + 8]
mov eax, 0x66666667
mov edx, esi
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebx, edx
jae 0x40e88b
lea edx, [ebx + ebx*4]
push esi
lea eax, [ecx + edx*8]
mov ecx, ebp
push eax
call fcn.0040f040
mov ecx, dword [esp + 0x3c]
or esi, 0xffffffff
push ecx
mov dword [esp + 0xa0], esi
call fcn.0043ce57
mov eax, dword [ebp + 4]
add esp, 4
test eax, eax
jne 0x40e8ad
xor edx, edx
jmp 0x40e8c3
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jge 0x40e905
lea eax, [edi + edi*4]
shl eax, 3
sub edx, edi
mov edi, 1
mov ecx, dword [ebp + 4]
add eax, 0x28
dec edx
mov dword [ecx + eax - 0x28], esi
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 8], esi
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 0x20], esi
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 0x24], esi
mov ecx, dword [ebp + 4]
mov byte [ecx + eax - 0x1c], 0xff
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 4], edi
jne 0x40e8d4
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
push 0
push ecx
push edi
call fcn.0042a8a2
add esp, 0xc
xor esi, esi
push edi
call fcn.0042ad78
mov edx, dword [ebp + 0x60]
add esp, 4
inc esi
mov ecx, dword [edx]
cmp esi, 4
mov byte [ecx + esi - 1], al
jl 0x40e91b
mov eax, dword [ebp + 0x60]
mov edx, 0x45545c
mov ecx, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edx]
cmp eax, ecx
je 0x40e94c
xor eax, eax
jmp 0x40ef5f
mov edi, dword [esp + 0x24]
push edi
call fcn.0042ad78
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x40ef43
push esi
call fcn.0042ab10
add esp, 4
test eax, eax
jne 0x40e950
cmp esi, 0xd
je 0x40e950
cmp esi, 0xa
je 0x40e950
cmp esi, 0x74
je 0x40ef1d
push edi
push esi
call fcn.0042a72f
push edi
xor esi, esi
call fcn.0042ad78
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40ef43
push ebx
call fcn.0042aae8
add esp, 4
test eax, eax
je 0x40e9c8
cmp esi, 0x14
jge 0x40e9c8
mov byte [esp + esi + 0x7c], bl
push edi
inc esi
call fcn.0042ad78
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
jne 0x40e9a1
test esi, esi
je 0x40ef43
lea ecx, [esp + 0x7c]
mov byte [esp + esi + 0x7c], 0
push ecx
call fcn.00429b50
add esp, 4
mov dword [esp + 0x20], eax
push edi
call fcn.0042ad78
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x40ef43
push esi
call fcn.0042ab10
add esp, 4
test eax, eax
jne 0x40e9e6
cmp esi, 0xd
je 0x40e9e6
cmp esi, 0xa
je 0x40e9e6
mov edi, dword [esp + 0x24]
push edi
push esi
call fcn.0042a72f
push edi
xor esi, esi
call fcn.0042ad78
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40ef43
push ebx
call fcn.0042aae8
add esp, 4
test eax, eax
je 0x40ea59
cmp esi, 0x14
jge 0x40ea59
mov byte [esp + esi + 0x7c], bl
push edi
inc esi
call fcn.0042ad78
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
jne 0x40ea32
test esi, esi
je 0x40ef43
lea edx, [esp + 0x7c]
mov byte [esp + esi + 0x7c], 0
push edx
call fcn.00429b50
add esp, 4
mov dword [esp + 0x1c], eax
or ebx, 0xffffffff
push edi
call fcn.0042ad78
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40ef43
push esi
call fcn.0042ab10
add esp, 4
test eax, eax
jne 0x40ea7a
cmp esi, 0xd
je 0x40ea7a
cmp esi, 0xa
je 0x40ea7a
push edi
push esi
call fcn.0042a72f
mov ecx, dword [ebp + 4]
xor edi, edi
add esp, 8
cmp ecx, edi
jne 0x40eabb
xor edx, edx
jmp 0x40ead1
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add eax, esi
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x40ec80
cmp ecx, edi
jne 0x40eaef
xor esi, esi
jmp 0x40eb07
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x14], esi
mov byte [esp + 0x60], dl
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov byte [esp + 0x5c], 0x6e
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 1
cmp ecx, edi
mov dword [esp + 0x9c], 3
jne 0x40eb4f
xor edx, edx
jmp 0x40eb65
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, dword [esp + 0x10]
jae 0x40eba2
cmp ecx, edi
jne 0x40eb73
xor edx, edx
jmp 0x40eb89
mov edx, dword [ebp + 8]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
sub ecx, edx
push ecx
push eax
mov ecx, ebp
call fcn.0040d2c0
jmp 0x40ebfe
cmp ecx, edi
je 0x40ebfe
mov esi, dword [ebp + 8]
mov eax, 0x66666667
mov edx, esi
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
cmp eax, edx
jae 0x40ebfa
lea edx, [eax + eax*4]
cmp esi, esi
mov edi, esi
lea ecx, [ecx + edx*8]
mov ebx, ecx
je 0x40ebe6
push edi
mov ecx, ebx
call fcn.0040d830
add edi, 0x28
add ebx, 0x28
cmp edi, esi
jne 0x40ebd4
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
push ebx
call fcn.0040f0e0
mov dword [ebp + 8], ebx
xor edi, edi
or ebx, 0xffffffff
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x9c], ebx
push eax
call fcn.0043ce57
mov eax, dword [ebp + 4]
add esp, 4
cmp eax, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
jne 0x40ec29
xor edx, edx
jmp 0x40ec3f
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jge 0x40ec80
lea eax, [esi + esi*4]
shl eax, 3
sub edx, esi
mov ecx, dword [ebp + 4]
add eax, 0x28
dec edx
mov dword [ecx + eax - 0x28], ebx
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 8], ebx
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 0x20], ebx
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 0x24], ebx
mov ecx, dword [ebp + 4]
mov byte [ecx + eax - 0x1c], 0xff
mov ecx, dword [ebp + 4]
mov dword [ecx + eax - 4], 1
jne 0x40ec4b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x40e94c
lea esi, [eax + eax*4]
shl esi, 3
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 0x60]
mov edx, dword [esp + 0x24]
push edx
push 0x400
mov ecx, dword [eax]
push ecx
call fcn.00408c10
add esp, 0xc
test eax, eax
je 0x40e94c
mov dl, byte [esp + 0x1b]
xor eax, eax
mov byte [esp + 0x38], dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], 0x6e
mov dword [esp + 0x48], eax
mov ecx, 0xa
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0x60]
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
mov dword [esp + 0x50], 1
push edx
mov edx, dword [ecx]
push eax
push 0x455410
push edx
mov dword [esp + 0xb0], 4
call fcn.0042ad44
add esp, 0x14
cmp eax, 3
jne 0x40eed6
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x40ed4f
mov ecx, dword [ebp + 0x60]
add eax, dword [ecx + 0x644]
mov dword [esp + 0x2c], eax
mov ebx, dword [ebp + 4]
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + esi + 4]
test eax, eax
jge 0x40eed6
mov edx, dword [esp + 0x28]
mov dword [ebx + esi], edx
mov eax, dword [esp + 0x2c]
mov dword [ebx + esi + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [ebx + esi + 8], ecx
mov dl, byte [esp + 0x34]
mov byte [ebx + esi + 0xc], dl
lea ebx, [ebx + esi + 0x10]
lea eax, [esp + 0x38]
cmp ebx, eax
je 0x40eebc
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
test edx, edx
jne 0x40eda1
xor edi, edi
jmp 0x40eda5
mov edi, esi
sub edi, edx
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40edb0
xor eax, eax
jmp 0x40edb5
mov eax, dword [ebx + 8]
sub eax, ecx
cmp edi, eax
ja 0x40edf3
cmp edx, esi
mov eax, edx
je 0x40edd1
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jne 0x40edbf
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x40ede4
mov eax, dword [ebx + 4]
xor esi, esi
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40eebc
mov eax, dword [ebx + 4]
sub esi, edx
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40eebc
test edx, edx
jne 0x40edfb
xor edi, edi
jmp 0x40edff
mov edi, esi
sub edi, edx
test ecx, ecx
jne 0x40ee07
xor eax, eax
jmp 0x40ee0c
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp edi, eax
ja 0x40ee66
test ecx, ecx
jne 0x40ee18
xor eax, eax
jmp 0x40ee1d
mov eax, dword [ebx + 8]
sub eax, ecx
add eax, edx
mov edi, ecx
cmp edx, eax
je 0x40ee37
mov cl, byte [edx]
mov byte [edi], cl
inc edi
inc edx
cmp edx, eax
jne 0x40ee25
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
cmp eax, esi
mov edi, esi
je 0x40ee56
test ecx, ecx
je 0x40ee50
mov dl, byte [eax]
mov byte [ecx], dl
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
inc ecx
inc eax
cmp eax, edi
jne 0x40ee40
test edx, edx
jne 0x40ede4
mov eax, dword [ebx + 4]
xor esi, esi
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40eebc
push ecx
mov dword [esp + 0x94], ecx
call fcn.0043ce57
mov ecx, dword [esp + 0x40]
add esp, 4
test ecx, ecx
jne 0x40ee82
xor eax, eax
jmp 0x40ee88
mov eax, dword [esp + 0x40]
sub eax, ecx
test eax, eax
jge 0x40ee8e
xor eax, eax
push eax
call fcn.0043ce2e
mov dword [ebx + 4], eax
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add esp, 4
cmp ecx, edx
mov esi, edx
je 0x40eeb6
test eax, eax
je 0x40eeb0
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x40eea8
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov esi, eax
mov dword [ecx + eax + 0x20], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + eax + 0x24], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x9c], 0xffffffff
push eax
call fcn.0043ce57
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add esp, 4
inc eax
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
jl 0x40ec9e
jmp 0x40e94c
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x40ef3c
push 0
push eax
push edi
call fcn.0042a8a2
mov ecx, dword [ebp + 0x60]
add esp, 0xc
push ecx
mov ecx, ebp
call fcn.0040e1c0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40ef47
xor eax, eax
jmp 0x40ef5f
mov ebp, dword [ebp + 8]
sub ebp, eax
mov eax, 0x66666667
imul ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 4