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

Disassembly:
push 0xffffffffffffffff
push 0x484a58
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 + 0x5d0]
mov dword [esp + 0x24], edi
push edi
call fcn.00466126
mov ebx, eax
add esp, 4
cmp ebx, 0xd
je 0x40dfd5
cmp ebx, 0xa
je 0x40dfd5
cmp ebx, 0x20
je 0x40dfd5
push edi
call fcn.0046658e
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.00466126
mov edx, dword [ebp + 0x60]
add esp, 4
inc esi
mov ecx, dword [edx]
cmp esi, 4
mov byte [ecx + esi - 1], al
jl 0x40e009
mov eax, dword [ebp + 0x60]
mov edx, str.xref
mov ecx, dword [eax]
mov esi, dword [edx]
mov ecx, dword [ecx]
cmp ecx, esi
je 0x40e063
mov eax, dword [eax + 8]
test eax, eax
jne 0x40e03f
mov eax, 0x488b98
push ebp
push 0x4bb438
push 0x4bb438
push eax
call fcn.0040d280
mov eax, dword [ebp + 4]
add esp, 0x10
test eax, eax
jne 0x40ed27
jmp 0x40ed3f
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.004661b2
add esp, 0xc
xor esi, esi
push edi
call fcn.00466126
add esp, 4
cmp eax, 0xffffffff
je 0x40ed23
mov ecx, dword [ebp + 0x60]
inc esi
cmp esi, 0x23
mov edx, dword [ecx]
mov byte [edx + esi - 1], al
jl 0x40e088
mov eax, dword [ebp + 0x60]
push 7
push str.trailer
mov ecx, dword [eax]
push ecx
call fcn.00466370
add esp, 0xc
test eax, eax
je 0x40e270
mov edx, dword [ebp + 0x60]
mov esi, dword [edx]
movsx eax, byte [esi]
push eax
call fcn.0046647b
add esp, 4
test eax, eax
je 0x40e0ed
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.0046647b
add esp, 4
test eax, eax
jne 0x40e0db
mov al, byte [esi]
cmp al, 0x30
jl 0x40e0ff
cmp al, 0x39
jg 0x40e0ff
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jge 0x40e0f3
movsx edx, byte [esi]
push edx
call fcn.0046647b
add esp, 4
test eax, eax
je 0x40e121
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0046647b
add esp, 4
test eax, eax
jne 0x40e10f
push esi
call fcn.004655f0
mov ebx, eax
mov al, byte [esi]
add esp, 4
cmp al, 0x30
jl 0x40e13e
cmp al, 0x39
jg 0x40e13e
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jge 0x40e132
movsx ecx, byte [esi]
push ecx
call fcn.0046647b
add esp, 4
test eax, eax
je 0x40e160
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.0046647b
add esp, 4
test eax, eax
jne 0x40e14e
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
cmp esi, eax
jne 0x40e20d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x40ed23
push 6
push str.railer
push eax
mov dword [esp + 0x28], 1
call fcn.00466370
add esp, 0xc
test eax, eax
je 0x40e226
mov esi, dword [esp + 0x24]
push 2
push 0xfffffc00
push esi
call fcn.004661b2
push esi
call fcn.0046658e
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.0046579e
mov eax, dword [ebp + 0x60]
push str.trailer
push 0x400
mov ecx, dword [eax]
push ecx
call fcn.004061e0
add esp, 0x2c
test eax, eax
je 0x40ed23
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 0x40e076
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 0x40e076
mov edx, dword [esp + 0x14]
push 0
push edx
push edi
call fcn.004661b2
add esp, 0xc
mov eax, dword [ebp + 0x60]
push edi
push 0x4b000
mov ecx, dword [eax]
push ecx
call fcn.00406170
mov edx, dword [ebp + 0x60]
push 7
push str.trailer
mov eax, dword [edx]
push eax
call fcn.00466370
add esp, 0x18
test eax, eax
jne 0x40e236
push edi
call fcn.0046658e
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.004661b2
mov ecx, dword [ebp + 0x60]
push 7
push str.trailer
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
mov dword [esp + 0x8c], 0xffffffff
push edx
call fcn.00466370
add esp, 0x18
test eax, eax
jne 0x40e55b
lea ecx, [esp + 0x50]
call fcn.0040ee50
mov eax, dword [ebp + 0x60]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0xa0], ebx
call fcn.0040f040
lea ecx, [esp + 0x50]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 1
call fcn.0040f5b0
cmp dword [esp + 0x60], ebx
jne 0x40e530
push 0x497460
lea ecx, [esp + 0x54]
call fcn.0040eee0
push str._Root
lea ecx, [esp + 0x54]
mov edi, eax
call fcn.0040eee0
test eax, eax
je 0x40e324
cmp eax, edi
jae 0x40e324
cmp dword [ebp + 0x64], 0xffffffff
jne 0x40e324
push eax
call fcn.004655f0
add esp, 4
mov dword [ebp + 0x64], eax
push str._Encrypt
lea ecx, [esp + 0x54]
call fcn.0040eee0
mov esi, eax
test esi, esi
je 0x40e36a
cmp esi, edi
jae 0x40e36a
push 4
push str.null
push esi
call fcn.00466370
add esp, 0xc
test eax, eax
jne 0x40e357
xor esi, esi
mov dword [ebp + 0x70], esi
jmp 0x40e36c
push esi
mov dword [ebp + 0x70], 1
call fcn.004655f0
add esp, 4
mov dword [ebp + 0x6c], eax
xor esi, esi
push str._Info
lea ecx, [esp + 0x54]
call fcn.0040eee0
cmp eax, esi
je 0x40e394
cmp eax, edi
jae 0x40e394
cmp dword [ebp + 0x68], 0xffffffff
jne 0x40e394
push eax
call fcn.004655f0
add esp, 4
mov dword [ebp + 0x68], eax
push str._Size
lea ecx, [esp + 0x54]
call fcn.0040eee0
cmp eax, esi
je 0x40e3b9
cmp eax, edi
jae 0x40e3b9
push eax
call fcn.004655f0
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
push str._Prev
lea ecx, [esp + 0x54]
call fcn.0040eee0
cmp eax, esi
je 0x40e3e5
cmp eax, edi
jae 0x40e3e5
push eax
call fcn.004655f0
mov edx, dword [ebp + 0x60]
add esp, 4
add eax, dword [edx + 0x648]
mov dword [esp + 0x78], eax
push 0x497434
lea ecx, [esp + 0x54]
call fcn.0040eee0
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x40e532
cmp eax, edi
jae 0x40e532
cmp byte [eax], 0x5b
je 0x40e417
cmp byte [eax - 1], 0x5b
jne 0x40e417
dec eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x40e43d
cmp cl, 0x20
je 0x40e431
cmp cl, 0xd
je 0x40e431
cmp cl, 0xa
je 0x40e431
cmp cl, 0x5b
jne 0x40e439
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e41d
mov dword [esp + 0x10], eax
mov edi, 0x4bb438
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.00404220
test al, al
je 0x40e482
mov edi, dword [ebp + 0x14]
mov ecx, ebx
mov eax, ecx
mov esi, 0x4bb438
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.0040db50
mov cl, byte [eax]
add esp, 0x10
test cl, cl
mov dword [esp + 0x10], eax
je 0x40e4cc
cmp cl, 0x3e
je 0x40e4c0
cmp cl, 0x20
je 0x40e4c0
cmp cl, 0xd
je 0x40e4c0
cmp cl, 0xa
je 0x40e4c0
cmp cl, 0x5b
jne 0x40e4c8
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e4a7
mov dword [esp + 0x10], eax
mov edi, 0x4bb438
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.00404220
test al, al
je 0x40e511
mov edi, dword [ebp + 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4bb438
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.0040db50
mov ebx, dword [esp + 0x2c]
add esp, 0x10
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 0
call fcn.00439800
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0040ee70
cmp ebx, esi
jne 0x40e562
xor eax, eax
jmp 0x40ed3f
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x40e58b
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 0x40e6e5
xor esi, esi
cmp ecx, esi
jne 0x40e58f
xor edi, edi
jmp 0x40e5a7
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 0x40e5ef
xor edx, edx
jmp 0x40e605
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 0x40e63c
cmp ecx, esi
jne 0x40e611
xor edx, edx
jmp 0x40e627
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.0040a8f0
jmp 0x40e66b
cmp ecx, esi
je 0x40e66b
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 0x40e66b
lea edx, [ebx + ebx*4]
push esi
lea eax, [ecx + edx*8]
mov ecx, ebp
push eax
call fcn.0040d6d0
mov ecx, dword [esp + 0x3c]
or esi, 0xffffffff
push ecx
mov dword [esp + 0xa0], esi
call fcn.0047c305
mov eax, dword [ebp + 4]
add esp, 4
test eax, eax
jne 0x40e68d
xor edx, edx
jmp 0x40e6a3
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 0x40e6e5
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 0x40e6b4
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
push 0
push ecx
push edi
call fcn.004661b2
add esp, 0xc
xor esi, esi
push edi
call fcn.00466126
mov edx, dword [ebp + 0x60]
add esp, 4
inc esi
mov ecx, dword [edx]
cmp esi, 4
mov byte [ecx + esi - 1], al
jl 0x40e6fb
mov eax, dword [ebp + 0x60]
mov edx, str.xref
mov ecx, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edx]
cmp eax, ecx
je 0x40e72c
xor eax, eax
jmp 0x40ed3f
mov edi, dword [esp + 0x24]
push edi
call fcn.00466126
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x40ed23
push esi
call fcn.0046647b
add esp, 4
test eax, eax
jne 0x40e730
cmp esi, 0xd
je 0x40e730
cmp esi, 0xa
je 0x40e730
cmp esi, 0x74
je 0x40ecfd
push edi
push esi
call fcn.0046608f
push edi
xor esi, esi
call fcn.00466126
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40ed23
push ebx
call fcn.00466426
add esp, 4
test eax, eax
je 0x40e7a8
cmp esi, 0x14
jge 0x40e7a8
mov byte [esp + esi + 0x7c], bl
push edi
inc esi
call fcn.00466126
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
jne 0x40e781
test esi, esi
je 0x40ed23
lea ecx, [esp + 0x7c]
mov byte [esp + esi + 0x7c], 0
push ecx
call fcn.004655f0
add esp, 4
mov dword [esp + 0x20], eax
push edi
call fcn.00466126
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x40ed23
push esi
call fcn.0046647b
add esp, 4
test eax, eax
jne 0x40e7c6
cmp esi, 0xd
je 0x40e7c6
cmp esi, 0xa
je 0x40e7c6
mov edi, dword [esp + 0x24]
push edi
push esi
call fcn.0046608f
push edi
xor esi, esi
call fcn.00466126
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40ed23
push ebx
call fcn.00466426
add esp, 4
test eax, eax
je 0x40e839
cmp esi, 0x14
jge 0x40e839
mov byte [esp + esi + 0x7c], bl
push edi
inc esi
call fcn.00466126
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
jne 0x40e812
test esi, esi
je 0x40ed23
lea edx, [esp + 0x7c]
mov byte [esp + esi + 0x7c], 0
push edx
call fcn.004655f0
add esp, 4
mov dword [esp + 0x1c], eax
or ebx, 0xffffffff
push edi
call fcn.00466126
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40ed23
push esi
call fcn.0046647b
add esp, 4
test eax, eax
jne 0x40e85a
cmp esi, 0xd
je 0x40e85a
cmp esi, 0xa
je 0x40e85a
push edi
push esi
call fcn.0046608f
mov ecx, dword [ebp + 4]
xor edi, edi
add esp, 8
cmp ecx, edi
jne 0x40e89b
xor edx, edx
jmp 0x40e8b1
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 0x40ea60
cmp ecx, edi
jne 0x40e8cf
xor esi, esi
jmp 0x40e8e7
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 0x40e92f
xor edx, edx
jmp 0x40e945
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 0x40e982
cmp ecx, edi
jne 0x40e953
xor edx, edx
jmp 0x40e969
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.0040a8f0
jmp 0x40e9de
cmp ecx, edi
je 0x40e9de
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 0x40e9da
lea edx, [eax + eax*4]
cmp esi, esi
mov edi, esi
lea ecx, [ecx + edx*8]
mov ebx, ecx
je 0x40e9c6
push edi
mov ecx, ebx
call fcn.0040ae60
add edi, 0x28
add ebx, 0x28
cmp edi, esi
jne 0x40e9b4
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
push ebx
call fcn.0040ccc0
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.0047c305
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 0x40ea09
xor edx, edx
jmp 0x40ea1f
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 0x40ea60
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 0x40ea2b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x40e72c
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.00406170
add esp, 0xc
test eax, eax
je 0x40e72c
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 str._d__d__c
push edx
mov dword [esp + 0xb0], 4
call fcn.004664d1
add esp, 0x14
cmp eax, 3
jne 0x40ecb6
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x40eb2f
mov ecx, dword [ebp + 0x60]
add eax, dword [ecx + 0x648]
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 0x40ecb6
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 0x40ec9c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
test edx, edx
jne 0x40eb81
xor edi, edi
jmp 0x40eb85
mov edi, esi
sub edi, edx
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40eb90
xor eax, eax
jmp 0x40eb95
mov eax, dword [ebx + 8]
sub eax, ecx
cmp edi, eax
ja 0x40ebd3
cmp edx, esi
mov eax, edx
je 0x40ebb1
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jne 0x40eb9f
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x40ebc4
mov eax, dword [ebx + 4]
xor esi, esi
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40ec9c
mov eax, dword [ebx + 4]
sub esi, edx
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40ec9c
test edx, edx
jne 0x40ebdb
xor edi, edi
jmp 0x40ebdf
mov edi, esi
sub edi, edx
test ecx, ecx
jne 0x40ebe7
xor eax, eax
jmp 0x40ebec
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp edi, eax
ja 0x40ec46
test ecx, ecx
jne 0x40ebf8
xor eax, eax
jmp 0x40ebfd
mov eax, dword [ebx + 8]
sub eax, ecx
add eax, edx
mov edi, ecx
cmp edx, eax
je 0x40ec17
mov cl, byte [edx]
mov byte [edi], cl
inc edi
inc edx
cmp edx, eax
jne 0x40ec05
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
cmp eax, esi
mov edi, esi
je 0x40ec36
test ecx, ecx
je 0x40ec30
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 0x40ec20
test edx, edx
jne 0x40ebc4
mov eax, dword [ebx + 4]
xor esi, esi
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40ec9c
push ecx
mov dword [esp + 0x94], ecx
call fcn.0047c305
mov ecx, dword [esp + 0x40]
add esp, 4
test ecx, ecx
jne 0x40ec62
xor eax, eax
jmp 0x40ec68
mov eax, dword [esp + 0x40]
sub eax, ecx
test eax, eax
jge 0x40ec6e
xor eax, eax
push eax
call fcn.0047c2dc
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 0x40ec96
test eax, eax
je 0x40ec90
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x40ec88
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.0047c305
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 0x40ea7e
jmp 0x40e72c
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x40ed1c
push 0
push eax
push edi
call fcn.004661b2
mov ecx, dword [ebp + 0x60]
add esp, 0xc
push ecx
mov ecx, ebp
call fcn.0040dfa0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40ed27
xor eax, eax
jmp 0x40ed3f
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