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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3a8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00441453
add esp, 4
test eax, eax
jne 0x470a46
mov esi, dword [ebp + 0xc]
push 0x40
push 0x1000
push esi
push eax
call dword [0x100e7370]
mov ecx, esi
mov esi, dword [ebp + 8]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp + 8], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xdc]
mov esi, dword [ebp + 8]
inc eax
push 0x5c
mov dword [ebx + 0xdc], eax
call fcn.004e435a
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x470a83
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx + 0xdc]
push ecx
push edx
push esi
mov ecx, eax
call fcn.00470863
jmp 0x470a85
xor eax, eax
mov ecx, dword [eax + 0xc]
push eax
mov dword [ebp + 0x10], ecx
lea ecx, [ebx + 0xe0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0xc], eax
call fcn.00440cf3
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x470c54
mov edx, dword [esi + 0x2c]
mov dword [ebx + 0xf4], edx
mov eax, dword [esi + 0x30]
mov dword [ebx + 0xf8], eax
mov ecx, dword [esi + 0x34]
mov eax, dword [ebx + 0x68]
lea edx, [ebx + 0x108]
inc ecx
push edx
push eax
mov dword [ebx + 0xfc], ecx
call fcn.00428813
mov eax, dword [ebx + 0x4a0]
add esp, 8
test eax, eax
jne 0x470afd
push 0
call dword [0x100e7854]
mov dword [ebx + 0x4a0], 1
lea ecx, [ebp - 0x218]
push 0x104
push ecx
push 0
call dword [0x100e7410]
lea edx, [ebp - 0x218]
push 0x5c
push edx
call fcn.004d2b3d
mov edi, eax
add esp, 8
test edi, edi
je 0x470b41
lea eax, [ebp - 0x218]
lea ecx, [ebx + 0x100]
push eax
mov byte [edi], 0
call fcn.004e7bd6
inc edi
push edi
jmp 0x470b53
lea ecx, [ebx + 0x100]
call fcn.004e7a24
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebx + 0x104]
call fcn.004e7bd6
cmp dword [esi + 0x2c], 2
je 0x470b73
mov eax, dword [ebx + 0x100]
push eax
call dword [0x100e7374]
jmp 0x470bbf
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [0x100e73a4]
lea edi, [ebp - 0x218]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
lea eax, [ebp + ecx - 0x218]
mov cl, byte [ebp + ecx - 0x218]
cmp cl, 0x5c
jne 0x470bad
mov byte [eax], 0
lea eax, [ebp - 0x218]
lea ecx, [ebx + 0x100]
push eax
call fcn.004e7bd6
mov ecx, dword [ebx + 0x68]
push 0x1010db54
push ecx
lea ecx, [ebx + 0x418]
call fcn.00425a83
mov edx, dword [ebx + 0x68]
push 0x1010d634
push edx
lea ecx, [ebx + 0x428]
call fcn.00425a83
mov eax, dword [ebx + 0x68]
push 0x1010db4c
push eax
lea ecx, [ebx + 0x458]
call fcn.00425a83
xor edi, edi
push 0x7f00
push edi
call dword [0x100e76dc]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x10119160
push edi
push 5
mov dword [ebp - 0x18], eax
call dword [0x100e7148]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
push edi
push 0x1010db3c
call fcn.004277b3
add esp, 0x14
lea ecx, [ebx + 0x464]
push eax
push 0x80
call fcn.004e4dfd
call dword [0x100e737c]
mov dword [ebx + 0x2d0], eax
jmp 0x470c6c
mov eax, dword [ebx + 0xfc]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
ja 0x470c63
mov eax, ecx
inc eax
xor edi, edi
mov dword [ebx + 0xfc], eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x470cb1
mov edi, dword [eax + esi + 0x2c]
add edi, esi
mov dword [ebp - 0x60], edi
mov eax, dword [eax + esi + 0x24]
cmp eax, 0x38
jb 0x470c97
mov eax, 0x38
mov ecx, eax
mov esi, 0x1010cba8
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, dword [esi + 0x40]
cmp ecx, 0xffffffff
je 0x470cd1
mov eax, dword [ecx + esi + 0x2c]
mov edx, dword [ebp - 0x20]
add eax, esi
mov dword [edx + 0x28], eax
mov ecx, dword [ecx + esi + 0x24]
add ecx, eax
mov dword [edx + 0x2c], ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x34], edi
cmp eax, 0xffffffff
je 0x470ce8
mov eax, dword [eax + esi + 0x2c]
add eax, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x50]
cmp ebx, 0xffffffff
je 0x470d53
mov ecx, dword [ebx + eax + 0x24]
test ecx, ecx
jle 0x470d53
push ecx
call fcn.004e435a
mov ecx, dword [ebp + 8]
mov esi, eax
xor eax, eax
mov edi, esi
mov ecx, dword [ebx + ecx + 0x24]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x10]
call fcn.00440cf3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], esi
mov edx, dword [ebx + eax + 8]
mov ecx, dword [ebx + eax + 0x24]
and edx, 0xffffffef
sub esi, eax
mov dword [ebx + eax + 0x28], ecx
mov dword [ebx + eax + 8], edx
mov dword [ebx + eax + 0x2c], esi
mov edx, dword [eax + 0x54]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x470fd6
mov ecx, eax
mov eax, dword [ebp + 8]
push 0x1010db34
mov ebx, dword [ecx + eax + 0x2c]
mov edx, dword [ecx + eax + 4]
lea esi, [ecx + eax]
add ebx, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], edx
lea edi, [esi + 0xc]
mov dword [ebp - 0x2c], ebx
push edi
call fcn.004d2731
add esp, 8
test eax, eax
jne 0x470da4
mov dword [ebp - 0x20], ebx
jmp 0x470f3b
push 0x1010db2c
push edi
call fcn.004d2731
add esp, 8
test eax, eax
jne 0x470e4b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx]
lea edi, [ebx + 4]
mov esi, dword [ecx + 0x228]
mov ecx, dword [ebp + 0xc]
test esi, esi
mov dword [ecx + 0x38], edi
mov dword [ecx + 0x3c], eax
jle 0x470df4
test eax, eax
jle 0x470df7
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
add dword [eax + edx], esi
add eax, edx
add edi, 4
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
jne 0x470ddf
jmp 0x470df7
lea edi, [edi + eax*4]
cmp byte [edi], 0
je 0x470e32
mov ecx, dword [ebp - 0x14]
push edi
add ecx, 0x220
mov edx, dword [ecx + 8]
push edx
call fcn.004e38a9
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [eax + 0x234]
call fcn.00440cf3
push edi
call fcn.00441523
add edi, eax
add esp, 4
cmp byte [edi], 0
jne 0x470dfc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x30], esi
mov eax, dword [edx + 0x228]
sub eax, esi
mov esi, dword [ebp - 0x1c]
mov dword [ecx + 0x34], eax
jmp 0x470f3b
push 0x1010db24
push edi
call fcn.004d2731
add esp, 8
test eax, eax
jne 0x470f3b
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00441453
add esp, 4
test eax, eax
jne 0x470f3b
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
add edx, 0xc
push edx
call fcn.004e780e
push 0x10107278
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.004e7e29
mov edi, ebx
cmp byte [edi], 0
je 0x470f2c
push edi
mov ebx, edi
call fcn.00441523
mov esi, dword [edi + eax]
mov ecx, dword [ebp + 8]
add edi, eax
add esi, ecx
add edi, 4
add esp, 4
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x18], edi
call fcn.004e42e4
lea eax, [ebp - 0x24]
push ebx
lea ecx, [ebp - 0x30]
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.004e7ce2
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 4
lea ecx, [edx + 0x204]
call fcn.004e4136
lea ecx, [ebp - 0x30]
mov dword [eax], esi
mov byte [ebp - 4], 3
call fcn.004e7a99
jmp 0x470f15
mov dword [ebp - 4], 1
call fcn.004e4322
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
jmp 0x470e9a
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004e7a99
test byte [esi + 8], 0x10
je 0x470f9f
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
cmp eax, ecx
jle 0x470f9f
push eax
call fcn.004e435a
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x28]
mov edi, ebx
mov edx, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
sub ecx, edx
xor eax, eax
lea edi, [edx + ebx]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x10]
call fcn.00440cf3
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [esi + 0x30]
xor edx, edx
test ecx, ecx
lea eax, [esi + 0x38]
jle 0x470d60
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov eax, dword [esi]
add esi, 4
mov ecx, eax
and eax, 7
shr ecx, 3
mov eax, dword [ebp + eax*4 - 0x60]
add ecx, ebx
add dword [ecx], eax
mov eax, dword [edi + 0x30]
inc edx
cmp edx, eax
jl 0x470fb4
jmp 0x470d60
mov eax, dword [ebp + 8]
lea ebx, [eax + 0x58]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp + 0x10], eax
jle 0x47112a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + 0x1ec]
lea esi, [edx*4]
shr edi, 2
mov dword [ecx + 0x40], edi
push esi
push 0
lea ecx, [eax + 0x1dc]
call fcn.00441203
mov eax, dword [ebp - 0x14]
push esi
push 0
lea ecx, [eax + 0x1f0]
call fcn.00441203
mov ecx, dword [ebp - 0x14]
push esi
add ecx, 0x1b4
push 0
call fcn.00441203
mov edx, dword [ebp - 0x14]
push esi
push 0
lea ecx, [edx + 0x1c8]
call fcn.00441203
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4710a0
lea edx, [edi*4]
mov ecx, edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
mov esi, dword [ebp - 0x28]
add eax, esi
test ecx, ecx
jl 0x47108a
mov edx, dword [ebp - 0x14]
add edx, 0x1b4
mov esi, dword [edx + 0x10]
shr esi, 2
cmp ecx, esi
jge 0x47108a
mov edx, dword [edx + 8]
mov esi, dword [ebp - 0x24]
mov dword [edx + esi], eax
mov eax, dword [ebp - 0x24]
add ebx, 4
add eax, 4
inc ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
jne 0x471063
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4710f3
lea edx, [edi*4]
mov ecx, edi
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
mov esi, dword [ebp - 0x28]
add eax, esi
test ecx, ecx
jl 0x4710dd
mov edx, dword [ebp - 0x14]
add edx, 0x1c8
mov esi, dword [edx + 0x10]
shr esi, 2
cmp ecx, esi
jge 0x4710dd
mov edx, dword [edx + 8]
mov esi, dword [ebp + 0x10]
mov dword [edx + esi], eax
mov eax, dword [ebp + 0x10]
add ebx, 4
add eax, 4
inc ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
jne 0x4710b6
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x47112a
mov ecx, dword [eax]
mov edx, dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
add eax, 4
test edi, edi
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], edx
jle 0x47112a
test edx, edx
jle 0x47112a
mov esi, dword [ebp - 0x34]
mov ecx, eax
mov eax, dword [ecx]
add dword [eax + esi], edi
add eax, esi
add ecx, 4
dec edx
jne 0x47111d
mov al, byte [ebx]
xor edi, edi
test al, al
mov dword [ebp - 0x30], ebx
mov esi, ebx
je 0x471148
push esi
inc edi
call fcn.00441523
add esi, eax
add esp, 4
cmp byte [esi], 0
jne 0x471137
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x160]
shr eax, 2
test edi, edi
mov dword [ebp + 0x10], eax
jle 0x4712a9
mov edx, eax
mov eax, dword [ebp + 0xc]
lea esi, [edi*4]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edi
mov eax, ecx
push esi
push 0
lea ecx, [eax + 0x18c]
call fcn.00441203
mov ecx, dword [ebp - 0x14]
push esi
push 0
add ecx, 0x164
call fcn.00441203
mov edx, dword [ebp - 0x14]
push esi
push 0
lea ecx, [edx + 0x150]
call fcn.00441203
mov eax, dword [ebp - 0x14]
push esi
push 0
lea ecx, [eax + 0x178]
call fcn.00441203
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
push 0xffffffffffffffff
lea ecx, [esi + edi]
push ecx
lea ecx, [edx + 0x1a0]
call fcn.004e3760
cmp byte [ebx], 0
je 0x4711fc
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
mov eax, esi
push 0
push eax
push edi
mov ecx, ebx
inc esi
call fcn.0046d883
test eax, eax
je 0x4718b5
push edi
call fcn.00441523
add edi, eax
add esp, 4
cmp byte [edi], 0
jne 0x4711d6
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4712a9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4712a9
mov ecx, eax
mov eax, 2
mov esi, dword [ecx]
add ecx, 4
lea ecx, [ecx + esi*4]
mov esi, dword [ecx]
add ecx, 4
dec eax
jne 0x47121e
test esi, esi
jle 0x471252
mov ebx, dword [ebp + 0x10]
mov edi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
mov edx, dword [ebp - 0x34]
add eax, edx
mov edx, dword [eax]
test edx, edx
je 0x471246
add edx, ebx
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
add edi, 4
dec eax
mov dword [ebp - 0x18], eax
jne 0x471235
mov eax, dword [ecx + esi*4]
lea ecx, [ecx + esi*4]
add ecx, 4
test eax, eax
jle 0x4712a9
mov edi, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [edi]
mov eax, dword [ebp - 0x34]
add ecx, eax
mov eax, dword [ecx]
mov esi, eax
and eax, 0xdfffffff
mov edx, eax
and esi, 0x20000000
shr edx, 0x10
cmp edx, 1
jle 0x47129d
mov ebx, dword [ebp + 0x10]
and eax, 0xffff
add ebx, edx
and ebx, 0xffff
shl ebx, 0x10
or ebx, eax
or ebx, esi
mov dword [ecx], ebx
mov eax, dword [ebp - 0x18]
add edi, 4
dec eax
mov dword [ebp - 0x18], eax
jne 0x471264
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x44]
cmp edi, 0xffffffff
je 0x4718cb
lea ecx, [ebp - 0x48]
call fcn.00440a63
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x50], 0x100ed5d0
mov dword [ebp - 0x4c], esi
mov ebx, 6
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.004e42e4
push 0x400
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.004ec02b
mov eax, dword [ebp + 8]
push 0
mov byte [ebp - 4], 9
mov edx, dword [edi + eax + 0x2c]
mov ecx, dword [edi + eax + 0x28]
add edx, eax
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.004ec077
push 0
push 0x1000
lea eax, [ebp - 0xd0]
push 1
push eax
lea ecx, [ebp - 0x114]
call fcn.004eb791
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x50]
call fcn.004695b3
lea ecx, [ebp - 0x114]
call fcn.004eb8f5
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 9
call fcn.004eb86d
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.004ec0b4
mov dword [ebp - 4], ebx
call fcn.004e4322
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x18], edx
mov edx, ecx
mov eax, ecx
shr edx, 3
neg eax
sbb eax, eax
mov dword [ebp - 0x28], edx
and eax, edi
mov dword [ebp - 0x1c], 0
test edx, edx
lea eax, [eax + edx*4]
mov dword [ebp - 0x2c], eax
jle 0x4714c2
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x18]
test eax, eax
mov dword [ebp - 0x30], eax
jle 0x4714ad
mov ecx, dword [ebp - 0x24]
push 0
push ebx
lea edi, [ecx + 0x14]
mov ecx, edi
call fcn.004682d3
mov esi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4713fc
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x10
cmp ecx, 1
jle 0x4713fc
mov edx, dword [ebp + 0x10]
and eax, 0xffff
add ecx, edx
and ecx, 0xffff
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
push ebx
mov ecx, edi
call fcn.00468c13
cmp eax, 1
jne 0x471441
add esi, 0x18
push esi
call fcn.00441523
add esi, eax
push esi
call fcn.00441523
lea esi, [esi + eax + 0xc]
push esi
call fcn.00441523
add esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x471439
mov ecx, dword [ebp - 0x18]
add eax, ecx
mov dword [esi], eax
jmp 0x47149e
mov dword [esi], 0
jmp 0x47149e
add esi, 0x18
push esi
call fcn.00441523
add esi, eax
push esi
call fcn.00441523
mov edx, dword [esi + eax + 0x1c]
lea eax, [esi + eax + 0x1c]
mov ecx, dword [eax + edx*4 + 4]
lea eax, [eax + edx*4 + 4]
lea esi, [eax + ecx + 4]
push esi
call fcn.00441523
mov ecx, dword [eax + esi + 0xc]
lea eax, [eax + esi + 0xc]
add esp, 0xc
add eax, 8
xor edx, edx
test ecx, ecx
jle 0x47149e
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x471490
mov edi, dword [ebp - 0x18]
add esi, edi
mov dword [eax], esi
jmp 0x471496
mov dword [eax], 0
add eax, 8
inc edx
cmp edx, ecx
jl 0x471480
mov eax, dword [ebp - 0x30]
inc ebx
cmp ebx, eax
jl 0x4713c0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
inc eax
cmp eax, edx
mov dword [ebp - 0x1c], eax
jl 0x4713a4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4717cf
mov eax, dword [esi + 0x14c]
shr eax, 3
test eax, eax
jle 0x4717cf
lea ecx, [ebp - 0x74]
call fcn.00440a63
mov esi, 0x100e8044
mov dword [ebp - 0x74], esi
lea ecx, [ebp - 0x88]
call fcn.00440a63
mov dword [ebp - 0x88], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
mov byte [ebp - 4], 0xf
mov ebx, dword [eax]
lea edx, [eax + 4]
mov eax, ecx
mov dword [ebp + 0x10], edx
neg eax
sbb eax, eax
and eax, esi
lea esi, [ebp - 0x88]
push esi
lea esi, [ebp - 0x74]
shr ecx, 3
push esi
push ecx
mov ecx, dword [ebp - 0x14]
push eax
push ebx
push edx
mov edx, dword [ebp - 0x34]
push edx
call fcn.004707a3
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov esi, eax
shr esi, 3
neg eax
sbb eax, eax
xor edi, edi
and eax, ecx
mov dword [ebp - 0x28], esi
test esi, esi
lea eax, [eax + esi*4]
mov dword [ebp - 0x2c], eax
jle 0x471594
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + edi*4]
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x18]
test edx, edx
jne 0x47156e
xor eax, eax
jmp 0x471571
mov eax, dword [eax + 0x24]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x74]
push edx
push ecx
mov ecx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004707a3
inc edi
cmp edi, esi
jl 0x47155a
test esi, esi
mov dword [ebp - 0x1c], 0
jle 0x4717a0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x10], 0
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0xa8]
call fcn.00440a63
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 0x10
shr eax, 2
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x24]
mov eax, ecx
inc ecx
lea edi, [edx + 0x14]
mov dword [ebp + 0x10], ecx
push 0
push eax
mov ecx, edi
call fcn.004682d3
mov ebx, eax
test ebx, ebx
je 0x471775
mov esi, dword [ebx]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0046d1d3
test eax, eax
je 0x4716b9
test dword [eax + 0x14], 0x2000000
je 0x4716b9
and esi, 0xffff
lea ecx, [ebp - 0xbc]
dec esi
push ecx
push ebx
mov ecx, edi
mov dword [ebp - 0xc4], esi
call fcn.00468c33
mov edx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x78]
push 0
neg edx
sbb edx, edx
mov dword [ebp - 0x98], 0
and edx, esi
neg eax
sbb eax, eax
mov dword [ebp - 0xb8], edx
and eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0xa8]
push eax
push 9
mov dword [ebp - 0xac], edx
call dword [ecx + 0x78]
test eax, eax
je 0x4716b9
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 0xa0]
mov edx, dword [ebp + 0x10]
mov eax, ecx
neg eax
sbb eax, eax
push ecx
and eax, esi
dec edx
push eax
push edx
mov ecx, edi
call fcn.00468323
push eax
mov ecx, edi
call fcn.00468cb3
mov eax, dword [ebp + 0x10]
mov ecx, edi
dec eax
push eax
call fcn.00468c13
test eax, eax
jne 0x4715ce
lea esi, [ebx + 0x18]
push esi
call fcn.00441523
add esi, eax
push esi
call fcn.00441523
mov ecx, dword [eax + esi + 0x18]
lea esi, [eax + esi + 0x18]
add esp, 8
test ecx, ecx
je 0x47171e
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x471718
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x471718
shr eax, 2
push ecx
push eax
push edx
call fcn.004415b3
add esp, 0xc
cmp eax, 0xffffffff
je 0x471718
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + eax*4]
mov dword [esi], edx
jmp 0x47171e
mov dword [esi], 0
mov ebx, dword [esi + 4]
add esi, 4
add esi, 4
xor edi, edi
test ebx, ebx
jle 0x4715ce
mov ecx, dword [esi]
test ecx, ecx
je 0x471768
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x471762
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x471762
shr eax, 2
push ecx
push eax
push edx
call fcn.004415b3
add esp, 0xc
cmp eax, 0xffffffff
je 0x471762
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + eax*4]
mov dword [esi], edx
jmp 0x471768
mov dword [esi], 0
add esi, 4
inc edi
cmp edi, ebx
jl 0x471731
jmp 0x4715ce
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xa8], 0x100e7bd0
call fcn.00440c63
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jl 0x4715a3
mov esi, 0x100e7bd0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x88], esi
call fcn.00440c63
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
mov dword [ebp - 0x74], esi
call fcn.00440c63
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x14c]
mov edx, dword [ebp + 0xc]
shr eax, 3
mov dword [edx + 0x54], eax
lea eax, [ebp - 0x50]
shr ecx, 3
mov dword [edx + 0x58], ecx
push eax
lea ecx, [esi + 0x134]
call fcn.00468b93
lea ecx, [ebp - 0x48]
call fcn.00440c63
mov dword [ebp - 0x50], 0x100ed5d0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x11
call fcn.00469563
mov dword [ebp - 0x50], 0x100ed5dc
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0x12
call fcn.00440c63
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x48], 0x100e7bd0
call fcn.00440c63
mov ecx, dword [ebp + 8]
jmp 0x4718ce
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x188]
test eax, eax
jne 0x4718e4
mov dword [0x10119730], 0
jmp 0x4718f0
mov edx, dword [esi + 0x180]
mov dword [0x10119730], edx
cmp dword [ecx + 0x2c], 2
jne 0x4718fd
lea eax, [ebp - 0x60]
int3
mov eax, dword [ecx + 0x3c]
pop edi
add eax, ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc