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

Disassembly:
push 0xffffffffffffffff
push 0x4849b8
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.00466096
mov ebx, eax
add esp, 4
cmp ebx, 0xd
je 0x40df65
cmp ebx, 0xa
je 0x40df65
cmp ebx, 0x20
je 0x40df65
push edi
call fcn.004664fe
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.00466096
mov edx, dword [ebp + 0x60]
add esp, 4
inc esi
mov ecx, dword [edx]
cmp esi, 4
mov byte [ecx + esi - 1], al
jl 0x40df99
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 0x40dff3
mov eax, dword [eax + 8]
test eax, eax
jne 0x40dfcf
mov eax, 0x488b98
push ebp
push 0x4bb418
push 0x4bb418
push eax
call fcn.0040d210
mov eax, dword [ebp + 4]
add esp, 0x10
test eax, eax
jne 0x40ecb7
jmp 0x40eccf
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.00466122
add esp, 0xc
xor esi, esi
push edi
call fcn.00466096
add esp, 4
cmp eax, 0xffffffff
je 0x40ecb3
mov ecx, dword [ebp + 0x60]
inc esi
cmp esi, 0x23
mov edx, dword [ecx]
mov byte [edx + esi - 1], al
jl 0x40e018
mov eax, dword [ebp + 0x60]
push 7
push str.trailer
mov ecx, dword [eax]
push ecx
call fcn.004662e0
add esp, 0xc
test eax, eax
je 0x40e200
mov edx, dword [ebp + 0x60]
mov esi, dword [edx]
movsx eax, byte [esi]
push eax
call fcn.004663eb
add esp, 4
test eax, eax
je 0x40e07d
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.004663eb
add esp, 4
test eax, eax
jne 0x40e06b
mov al, byte [esi]
cmp al, 0x30
jl 0x40e08f
cmp al, 0x39
jg 0x40e08f
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jge 0x40e083
movsx edx, byte [esi]
push edx
call fcn.004663eb
add esp, 4
test eax, eax
je 0x40e0b1
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.004663eb
add esp, 4
test eax, eax
jne 0x40e09f
push esi
call fcn.00465560
mov ebx, eax
mov al, byte [esi]
add esp, 4
cmp al, 0x30
jl 0x40e0ce
cmp al, 0x39
jg 0x40e0ce
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jge 0x40e0c2
movsx ecx, byte [esi]
push ecx
call fcn.004663eb
add esp, 4
test eax, eax
je 0x40e0f0
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.004663eb
add esp, 4
test eax, eax
jne 0x40e0de
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
cmp esi, eax
jne 0x40e19d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x40ecb3
push 6
push str.railer
push eax
mov dword [esp + 0x28], 1
call fcn.004662e0
add esp, 0xc
test eax, eax
je 0x40e1b6
mov esi, dword [esp + 0x24]
push 2
push 0xfffffc00
push esi
call fcn.00466122
push esi
call fcn.004664fe
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.0046570e
mov eax, dword [ebp + 0x60]
push str.trailer
push 0x400
mov ecx, dword [eax]
push ecx
call fcn.004061d0
add esp, 0x2c
test eax, eax
je 0x40ecb3
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 0x40e006
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 0x40e006
mov edx, dword [esp + 0x14]
push 0
push edx
push edi
call fcn.00466122
add esp, 0xc
mov eax, dword [ebp + 0x60]
push edi
push 0x4b000
mov ecx, dword [eax]
push ecx
call fcn.00406160
mov edx, dword [ebp + 0x60]
push 7
push str.trailer
mov eax, dword [edx]
push eax
call fcn.004662e0
add esp, 0x18
test eax, eax
jne 0x40e1c6
push edi
call fcn.004664fe
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.00466122
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.004662e0
add esp, 0x18
test eax, eax
jne 0x40e4eb
lea ecx, [esp + 0x50]
call fcn.0040ede0
mov eax, dword [ebp + 0x60]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0xa0], ebx
call fcn.0040efd0
lea ecx, [esp + 0x50]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 1
call fcn.0040f540
cmp dword [esp + 0x60], ebx
jne 0x40e4c0
push 0x497438
lea ecx, [esp + 0x54]
call fcn.0040ee70
push str._Root
lea ecx, [esp + 0x54]
mov edi, eax
call fcn.0040ee70
test eax, eax
je 0x40e2b4
cmp eax, edi
jae 0x40e2b4
cmp dword [ebp + 0x64], 0xffffffff
jne 0x40e2b4
push eax
call fcn.00465560
add esp, 4
mov dword [ebp + 0x64], eax
push str._Encrypt
lea ecx, [esp + 0x54]
call fcn.0040ee70
mov esi, eax
test esi, esi
je 0x40e2fa
cmp esi, edi
jae 0x40e2fa
push 4
push str.null
push esi
call fcn.004662e0
add esp, 0xc
test eax, eax
jne 0x40e2e7
xor esi, esi
mov dword [ebp + 0x70], esi
jmp 0x40e2fc
push esi
mov dword [ebp + 0x70], 1
call fcn.00465560
add esp, 4
mov dword [ebp + 0x6c], eax
xor esi, esi
push str._Info
lea ecx, [esp + 0x54]
call fcn.0040ee70
cmp eax, esi
je 0x40e324
cmp eax, edi
jae 0x40e324
cmp dword [ebp + 0x68], 0xffffffff
jne 0x40e324
push eax
call fcn.00465560
add esp, 4
mov dword [ebp + 0x68], eax
push str._Size
lea ecx, [esp + 0x54]
call fcn.0040ee70
cmp eax, esi
je 0x40e349
cmp eax, edi
jae 0x40e349
push eax
call fcn.00465560
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
push str._Prev
lea ecx, [esp + 0x54]
call fcn.0040ee70
cmp eax, esi
je 0x40e375
cmp eax, edi
jae 0x40e375
push eax
call fcn.00465560
mov edx, dword [ebp + 0x60]
add esp, 4
add eax, dword [edx + 0x648]
mov dword [esp + 0x78], eax
push 0x49740c
lea ecx, [esp + 0x54]
call fcn.0040ee70
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x40e4c2
cmp eax, edi
jae 0x40e4c2
cmp byte [eax], 0x5b
je 0x40e3a7
cmp byte [eax - 1], 0x5b
jne 0x40e3a7
dec eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x40e3cd
cmp cl, 0x20
je 0x40e3c1
cmp cl, 0xd
je 0x40e3c1
cmp cl, 0xa
je 0x40e3c1
cmp cl, 0x5b
jne 0x40e3c9
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e3ad
mov dword [esp + 0x10], eax
mov edi, 0x4bb418
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 0x40e412
mov edi, dword [ebp + 0x14]
mov ecx, ebx
mov eax, ecx
mov esi, 0x4bb418
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.0040dae0
mov cl, byte [eax]
add esp, 0x10
test cl, cl
mov dword [esp + 0x10], eax
je 0x40e45c
cmp cl, 0x3e
je 0x40e450
cmp cl, 0x20
je 0x40e450
cmp cl, 0xd
je 0x40e450
cmp cl, 0xa
je 0x40e450
cmp cl, 0x5b
jne 0x40e458
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e437
mov dword [esp + 0x10], eax
mov edi, 0x4bb418
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 0x40e4a1
mov edi, dword [ebp + 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4bb418
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.0040dae0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 0
call fcn.00439770
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0040ee00
cmp ebx, esi
jne 0x40e4f2
xor eax, eax
jmp 0x40eccf
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x40e51b
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 0x40e675
xor esi, esi
cmp ecx, esi
jne 0x40e51f
xor edi, edi
jmp 0x40e537
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 0x40e57f
xor edx, edx
jmp 0x40e595
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 0x40e5cc
cmp ecx, esi
jne 0x40e5a1
xor edx, edx
jmp 0x40e5b7
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.0040a8e0
jmp 0x40e5fb
cmp ecx, esi
je 0x40e5fb
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 0x40e5fb
lea edx, [ebx + ebx*4]
push esi
lea eax, [ecx + edx*8]
mov ecx, ebp
push eax
call fcn.0040d660
mov ecx, dword [esp + 0x3c]
or esi, 0xffffffff
push ecx
mov dword [esp + 0xa0], esi
call fcn.0047c265
mov eax, dword [ebp + 4]
add esp, 4
test eax, eax
jne 0x40e61d
xor edx, edx
jmp 0x40e633
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 0x40e675
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 0x40e644
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
push 0
push ecx
push edi
call fcn.00466122
add esp, 0xc
xor esi, esi
push edi
call fcn.00466096
mov edx, dword [ebp + 0x60]
add esp, 4
inc esi
mov ecx, dword [edx]
cmp esi, 4
mov byte [ecx + esi - 1], al
jl 0x40e68b
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 0x40e6bc
xor eax, eax
jmp 0x40eccf
mov edi, dword [esp + 0x24]
push edi
call fcn.00466096
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x40ecb3
push esi
call fcn.004663eb
add esp, 4
test eax, eax
jne 0x40e6c0
cmp esi, 0xd
je 0x40e6c0
cmp esi, 0xa
je 0x40e6c0
cmp esi, 0x74
je 0x40ec8d
push edi
push esi
call fcn.00465fff
push edi
xor esi, esi
call fcn.00466096
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40ecb3
push ebx
call fcn.00466396
add esp, 4
test eax, eax
je 0x40e738
cmp esi, 0x14
jge 0x40e738
mov byte [esp + esi + 0x7c], bl
push edi
inc esi
call fcn.00466096
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
jne 0x40e711
test esi, esi
je 0x40ecb3
lea ecx, [esp + 0x7c]
mov byte [esp + esi + 0x7c], 0
push ecx
call fcn.00465560
add esp, 4
mov dword [esp + 0x20], eax
push edi
call fcn.00466096
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x40ecb3
push esi
call fcn.004663eb
add esp, 4
test eax, eax
jne 0x40e756
cmp esi, 0xd
je 0x40e756
cmp esi, 0xa
je 0x40e756
mov edi, dword [esp + 0x24]
push edi
push esi
call fcn.00465fff
push edi
xor esi, esi
call fcn.00466096
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40ecb3
push ebx
call fcn.00466396
add esp, 4
test eax, eax
je 0x40e7c9
cmp esi, 0x14
jge 0x40e7c9
mov byte [esp + esi + 0x7c], bl
push edi
inc esi
call fcn.00466096
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
jne 0x40e7a2
test esi, esi
je 0x40ecb3
lea edx, [esp + 0x7c]
mov byte [esp + esi + 0x7c], 0
push edx
call fcn.00465560
add esp, 4
mov dword [esp + 0x1c], eax
or ebx, 0xffffffff
push edi
call fcn.00466096
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40ecb3
push esi
call fcn.004663eb
add esp, 4
test eax, eax
jne 0x40e7ea
cmp esi, 0xd
je 0x40e7ea
cmp esi, 0xa
je 0x40e7ea
push edi
push esi
call fcn.00465fff
mov ecx, dword [ebp + 4]
xor edi, edi
add esp, 8
cmp ecx, edi
jne 0x40e82b
xor edx, edx
jmp 0x40e841
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 0x40e9f0
cmp ecx, edi
jne 0x40e85f
xor esi, esi
jmp 0x40e877
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 0x40e8bf
xor edx, edx
jmp 0x40e8d5
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 0x40e912
cmp ecx, edi
jne 0x40e8e3
xor edx, edx
jmp 0x40e8f9
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.0040a8e0
jmp 0x40e96e
cmp ecx, edi
je 0x40e96e
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 0x40e96a
lea edx, [eax + eax*4]
cmp esi, esi
mov edi, esi
lea ecx, [ecx + edx*8]
mov ebx, ecx
je 0x40e956
push edi
mov ecx, ebx
call fcn.0040ae50
add edi, 0x28
add ebx, 0x28
cmp edi, esi
jne 0x40e944
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
push ebx
call fcn.0040cc50
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.0047c265
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 0x40e999
xor edx, edx
jmp 0x40e9af
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 0x40e9f0
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 0x40e9bb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x40e6bc
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.00406160
add esp, 0xc
test eax, eax
je 0x40e6bc
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.00466441
add esp, 0x14
cmp eax, 3
jne 0x40ec46
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x40eabf
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 0x40ec46
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 0x40ec2c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
test edx, edx
jne 0x40eb11
xor edi, edi
jmp 0x40eb15
mov edi, esi
sub edi, edx
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40eb20
xor eax, eax
jmp 0x40eb25
mov eax, dword [ebx + 8]
sub eax, ecx
cmp edi, eax
ja 0x40eb63
cmp edx, esi
mov eax, edx
je 0x40eb41
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jne 0x40eb2f
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x40eb54
mov eax, dword [ebx + 4]
xor esi, esi
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40ec2c
mov eax, dword [ebx + 4]
sub esi, edx
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40ec2c
test edx, edx
jne 0x40eb6b
xor edi, edi
jmp 0x40eb6f
mov edi, esi
sub edi, edx
test ecx, ecx
jne 0x40eb77
xor eax, eax
jmp 0x40eb7c
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp edi, eax
ja 0x40ebd6
test ecx, ecx
jne 0x40eb88
xor eax, eax
jmp 0x40eb8d
mov eax, dword [ebx + 8]
sub eax, ecx
add eax, edx
mov edi, ecx
cmp edx, eax
je 0x40eba7
mov cl, byte [edx]
mov byte [edi], cl
inc edi
inc edx
cmp edx, eax
jne 0x40eb95
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
cmp eax, esi
mov edi, esi
je 0x40ebc6
test ecx, ecx
je 0x40ebc0
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 0x40ebb0
test edx, edx
jne 0x40eb54
mov eax, dword [ebx + 4]
xor esi, esi
add eax, esi
mov dword [ebx + 8], eax
jmp 0x40ec2c
push ecx
mov dword [esp + 0x94], ecx
call fcn.0047c265
mov ecx, dword [esp + 0x40]
add esp, 4
test ecx, ecx
jne 0x40ebf2
xor eax, eax
jmp 0x40ebf8
mov eax, dword [esp + 0x40]
sub eax, ecx
test eax, eax
jge 0x40ebfe
xor eax, eax
push eax
call fcn.0047c23c
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 0x40ec26
test eax, eax
je 0x40ec20
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x40ec18
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.0047c265
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 0x40ea0e
jmp 0x40e6bc
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x40ecac
push 0
push eax
push edi
call fcn.00466122
mov ecx, dword [ebp + 0x60]
add esp, 0xc
push ecx
mov ecx, ebp
call fcn.0040df30
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40ecb7
xor eax, eax
jmp 0x40eccf
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