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

Disassembly:
push 0xffffffffffffffff
push 0x57fb7d
mov eax, dword fs:[0]
push eax
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0xa4], ebp
mov eax, dword [esp + 0x128]
xor ebx, ebx
mov edi, 1
add dword [ebp + 0x18], edi
cmp dword [ebp + 0x168], edi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
jne 0x46ae2f
mov eax, dword [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00464d60
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea ecx, [esp + 0xd8]
call fcn.00466510
mov dword [esp + 0x120], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
cmp esi, ebx
mov byte [esp + 0x120], 1
jle 0x46ad4b
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edi, edi
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0x94]
call fcn.00463200
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xec]
call fcn.00462ff0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x10c]
call fcn.00462ff0
sub esi, 1
jne 0x46ad10
cmp edi, ebx
jle 0x46adda
mov dword [esp + 0x30], ebx
mov dword [esp + 0xa0], edi
mov edi, edi
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0xdc]
call fcn.00469020
mov esi, dword [esp + 0xfc]
cmp esi, ebx
mov edx, dword [esp + 0x100]
je 0x46adab
mov ecx, dword [esp + 0x104]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x46adab
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0x100], edx
jmp 0x46add0
cmp esi, edx
mov edi, edx
jbe 0x46adb6
call fcn.005416ed
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0xfc]
push edi
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.00461100
sub dword [esp + 0xa0], 1
jne 0x46ad60
lea eax, [esp + 0xd8]
push eax
lea ecx, [ebp + 8]
call fcn.0046ab90
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x46adfe
push eax
call fcn.00506f62
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x120], 0xffffffff
call fcn.00466570
mov edi, 1
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
mov esi, dword [ebp + 0x18]
mov dword [esp + 0xb4], esi
je 0x46ae4c
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 6
cmp esi, eax
jb 0x46ae51
call fcn.005416ed
mov ecx, dword [ebp + 0xc]
mov eax, esi
shl eax, 6
add ecx, eax
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0xbc], eax
call fcn.00466600
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
mov dword [esp + 0x120], 2
jne 0x46ae85
mov dword [esp + 0x24], ebx
jmp 0x46ae92
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
cmp eax, ebx
jne 0x46aea0
mov dword [esp + 0x28], ebx
jmp 0x46aead
mov ecx, dword [esp + 0x78]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x28], ecx
push 5
lea esi, [ebp + 0x40]
push str.table
mov ecx, esi
call fcn.00402290
push ebx
mov ecx, ebp
call fcn.00466780
mov eax, dword [esi]
push esi
push eax
mov ecx, ebp
call fcn.00464920
mov dword [esp + 0x30], ebx
call fcn.00512f10
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x46aeef
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x12c]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xa4]
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
mov byte [esp + 0x130], 3
call fcn.00462850
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46af4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0xb4]
push edx
mov ecx, ebp
call fcn.0045f370
push edi
push esi
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebp
mov byte [esp + 0x130], 4
call fcn.00462a10
mov ecx, ebp
call fcn.004558f0
cmp dword [ebp + 0x168], edi
mov edi, dword [esp + 0x64]
je 0x46b20d
test edi, edi
mov eax, dword [esp + 0x130]
mov ebx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
jne 0x46afba
xor eax, eax
jmp 0x46afc3
mov eax, dword [esp + 0x68]
sub eax, edi
sar eax, 2
mov ecx, dword [ebp + 0xac]
lea edx, [eax + ecx - 1]
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], edx
xor esi, esi
call fcn.00453760
test eax, eax
jbe 0x46b021
mov ebx, dword [esp + 0x14]
test edi, edi
je 0x46aff5
mov eax, dword [esp + 0x68]
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x46affe
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov eax, dword [edi + esi*4]
add eax, dword [ebp + 0xac]
lea ecx, [esp + 0x60]
add ebx, eax
add esi, 1
call fcn.00453760
cmp esi, eax
jb 0x46afe4
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x46b02d
xor eax, eax
jmp 0x46b036
mov eax, dword [esp + 0x78]
sub eax, esi
sar eax, 2
mov ecx, dword [ebp + 0xac]
add ecx, eax
lea edx, [ebx + ecx - 1]
lea ecx, [esp + 0x70]
mov dword [esp + 0x44], edx
xor ebx, ebx
call fcn.00453760
test eax, eax
jbe 0x46b090
test esi, esi
je 0x46b066
mov eax, dword [esp + 0x78]
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x46b06f
call fcn.005416ed
mov esi, dword [esp + 0x74]
mov eax, dword [esi + ebx*4]
add eax, dword [ebp + 0xac]
lea ecx, [esp + 0x70]
add dword [esp + 0x44], eax
add ebx, 1
call fcn.00453760
cmp ebx, eax
jb 0x46b055
mov edi, dword [esp + 0x64]
mov eax, 6
cmp dword [ebp + 0x8c], eax
je 0x46b0a5
mov eax, dword [ebp + 0x90]
add eax, eax
add dword [esp + 0x14], eax
add dword [esp + 0x44], eax
mov ecx, dword [esp + 0x130]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
jge 0x46b1fb
sub eax, dword [esp + 0x14]
xor ebx, ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
xor esi, esi
call fcn.00453760
test eax, eax
jbe 0x46b134
mov edi, dword [esp + 0x84]
mov edi, edi
test edi, edi
je 0x46b104
mov eax, dword [esp + 0x88]
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x46b110
call fcn.005416ed
mov edi, dword [esp + 0x84]
cmp dword [edi + esi*4], 0
jne 0x46b119
add ebx, 1
lea ecx, [esp + 0x80]
add esi, 1
call fcn.00453760
cmp esi, eax
jb 0x46b0f0
mov edi, dword [esp + 0x64]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x84]
xor ebx, ebx
lea ecx, [ecx]
test ecx, ecx
je 0x46b1ba
mov eax, dword [esp + 0x88]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x46b1ba
cmp dword [esp + 0x18], 0
jle 0x46b1ba
cmp ebx, eax
jb 0x46b16f
call fcn.005416ed
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x64]
cmp dword [ecx + ebx*4], 0
jne 0x46b1b5
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x18]
test edi, edi
mov esi, eax
je 0x46b191
mov eax, dword [esp + 0x68]
sub eax, edi
sar eax, 2
cmp ebx, eax
jb 0x46b19a
call fcn.005416ed
mov edi, dword [esp + 0x64]
add dword [edi + ebx*4], esi
sub dword [esp + 0x1c], esi
sub dword [esp + 0x18], 1
add dword [esp + 0x14], esi
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x84]
add ebx, 1
jmp 0x46b140
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x14], ecx
jge 0x46b1f7
mov eax, dword [ebp + 0x84]
sub eax, 1
je 0x46b1e8
sub eax, 1
jne 0x46b1f7
mov edx, dword [esp + 0x130]
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
jmp 0x46b1f7
mov eax, ecx
sub eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x38], eax
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x40], ecx
xor ebx, ebx
jmp 0x46b211
mov esi, dword [esp + 0x74]
cmp dword [ebp + 0x168], ebx
jne 0x46b353
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
jl 0x46b250
mov edx, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x70]
push ebx
push 5
push edx
mov edx, dword [ebp + 0x64]
push ecx
push edx
mov edx, dword [ebp + 0x160]
lea ecx, [esp + 0x4c]
push ecx
push eax
push edx
lea ecx, [ebp + 0xd4]
call fcn.00451080
jmp 0x46b2f4
mov eax, dword [ebp + 0x80]
cmp dword [eax - 0xc], ebx
je 0x46b2fc
push ecx
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [esp + 0xac], esp
mov ebx, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x46b290
cmp eax, dword [esi]
jne 0x46b290
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x46b2c7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x46b2a9
call fcn.00401200
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0053fac1
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
sub edx, eax
push edx
mov edx, dword [esp + 0x48]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x160]
push ecx
push eax
mov ecx, ebp
call fcn.00460620
xor ebx, ebx
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x74]
mov ecx, dword [ebp + 0x90]
cmp ecx, ebx
jle 0x46b353
cmp dword [ebp + 0x148], ebx
push ecx
mov ecx, dword [ebp + 0x8c]
push ecx
je 0x46b32c
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x68]
push edx
mov edx, dword [ebp + 0x160]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
jmp 0x46b340
mov eax, dword [ebp + 0x14c]
push eax
push eax
mov eax, dword [ebp + 0x160]
lea edx, [esp + 0x48]
push edx
push eax
lea ecx, [ebp + 0xd4]
call fcn.00452390
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x74]
cmp dword [ebp + 0x168], 1
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
je 0x46b3bf
cmp dword [ebp + 0x8c], 6
jne 0x46b39b
add ecx, 3
mov eax, 3
jmp 0x46b3a3
mov eax, dword [ebp + 0x90]
add ecx, eax
add dword [esp + 0x94], eax
sub dword [esp + 0x98], eax
sub dword [esp + 0x9c], eax
mov dword [esp + 0x90], ecx
cmp dword [esp + 0x24], ebx
je 0x46b677
cmp dword [esp + 0x28], ebx
je 0x46b677
mov dword [esp + 0x1c], ebx
call fcn.00512f10
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x46b3f1
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x120], 5
call fcn.00512f10
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x46b423
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x120], 6
call fcn.00512f10
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x46b455
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
cmp dword [esp + 0x28], ebx
mov byte [esp + 0x120], 7
mov dword [esp + 0x14], ebx
jle 0x46b5fb
jmp 0x46b480
push ecx
mov ecx, esp
mov dword [esp + 0xac], esp
push 0x59f984
call fcn.00402a30
mov edx, dword [esp + 0x130]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
call fcn.0045ad70
cmp eax, ebx
je 0x46b5e6
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x12c]
lea eax, [esp + 0x1c]
push eax
push ebx
mov ecx, ebp
mov dword [esp + 0x24], esi
call fcn.0045fac0
mov ecx, dword [esp + 0x1c]
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
call fcn.00420700
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebx, [edi - 0x10]
cmp esi, ebx
mov byte [esp + 0x120], 8
je 0x46b593
cmp dword [ebx + 0xc], 0
jl 0x46b581
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x46b581
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x46b529
cmp eax, dword [esi]
jne 0x46b529
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x46b55f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x46b2a4
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0053fac1
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x46b578
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [esp + 0x20], edi
jmp 0x46b593
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402290
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x120], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b5bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00469840
mov edx, dword [esp + 0x1c]
add edx, 5
mov dword [esp + 0x1c], edx
xor ebx, ebx
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jl 0x46b480
add edi, 0xfffffff0
mov byte [esp + 0x120], 6
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46b61f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x120], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b647
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x120], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b66f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x74]
cmp dword [ebp + 0x168], ebx
je 0x46bcd3
mov ecx, dword [esp + 0x54]
mov eax, 1
cmp dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
jl 0x46b9a0
lea ebx, [ebx]
xor ebx, ebx
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
jle 0x46b982
mov dword [esp + 0x2c], ebx
test ecx, ecx
je 0x46b6c5
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jb 0x46b6d2
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
xor ebp, ebp
cmp dword [esp + 0x24], ebp
lea esi, [edx + ecx]
mov dword [esp + 0xa8], esi
mov dword [esp + 0x20], ebp
jle 0x46b96c
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
lea ecx, [eax*4 - 4]
mov dword [esp + 0x4c], ecx
jmp 0x46b717
mov esi, dword [esp + 0xa8]
mov eax, dword [esi + 4]
test eax, eax
je 0x46b73a
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x46b743
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ebx, dword [esi + 4]
add ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cmp dword [ebx], eax
mov dword [esp + 0x1c], ebx
jne 0x46b93d
cmp eax, 1
jne 0x46b816
test edi, edi
je 0x46b776
mov ecx, dword [esp + 0x68]
mov eax, ecx
sub eax, edi
sar eax, 2
cmp ebp, eax
jb 0x46b783
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x18]
cmp dword [edx + edi], eax
jle 0x46b7b4
test edi, edi
je 0x46b79e
mov eax, ecx
sub eax, edi
sar eax, 2
cmp ebp, eax
jb 0x46b7ab
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + edi]
jmp 0x46b7b6
mov esi, eax
test edi, edi
je 0x46b7c5
sub ecx, edi
sar ecx, 2
mov eax, ecx
cmp ebp, eax
jb 0x46b7ce
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov dword [ecx + edi], esi
cmp dword [ebx + 0x18], 0
je 0x46b939
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x46b7fa
mov eax, dword [esp + 0x88]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46b806
call fcn.005416ed
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x18]
mov dword [edx + ecx], 1
jmp 0x46b939
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x46b8a6
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x34], eax
test edi, edi
je 0x46b848
mov eax, dword [esp + 0x68]
sub eax, edi
sar eax, 2
cmp ebp, eax
jb 0x46b858
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x1c]
add ebx, dword [esi + edi]
cmp dword [eax + 0x18], 0
je 0x46b899
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46b87b
sub ecx, eax
sar ecx, 2
mov eax, ecx
cmp ebp, eax
jb 0x46b880
call fcn.005416ed
mov ecx, dword [esp + 0x84]
mov dword [esi + ecx], 1
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x64]
add esi, 4
add ebp, 1
sub dword [esp + 0x34], 1
jne 0x46b837
mov edx, dword [esp + 0x1c]
cmp ebx, dword [edx + 8]
jge 0x46b93d
mov ecx, dword [esp + 0x14]
mov eax, edx
mov eax, dword [eax + 0x10]
sub eax, ebx
cdq
idiv ecx
test edi, edi
mov ebp, eax
je 0x46b8dc
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
sub eax, edi
sar eax, 2
lea edx, [ecx + edx - 1]
cmp edx, eax
jb 0x46b8e9
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
sub eax, ebx
cdq
idiv ecx
mov eax, dword [esp + 0x4c]
xor esi, esi
add dword [eax + edi], edx
test ecx, ecx
jle 0x46b939
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x46b921
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x46b92a
call fcn.005416ed
mov eax, dword [esp + 0x64]
add dword [edi + eax], ebp
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x14]
jl 0x46b906
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x48], 0x1c
mov eax, 4
add dword [esp + 0x18], eax
add dword [esp + 0x4c], eax
add ebp, 1
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
jl 0x46b710
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
add dword [esp + 0x2c], 0x10
add ebx, 1
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
jl 0x46b6b4
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jle 0x46b6a0
mov esi, dword [esp + 0x74]
mov eax, 1
cmp dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
jl 0x46bc02
mov edi, edi
cmp dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
jle 0x46bbe9
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
test ecx, ecx
je 0x46b9e3
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x18], eax
jb 0x46b9f0
call fcn.005416ed
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax]
mov dword [esp + 0xa8], edx
mov dword [esp + 0x4c], 0
jle 0x46bbca
mov dword [esp + 0x48], 0
lea esp, [esp]
mov edi, dword [esp + 0xa8]
mov eax, dword [edi + 4]
test eax, eax
je 0x46ba4c
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x4c], eax
jb 0x46ba55
call fcn.005416ed
mov esi, dword [esp + 0x74]
mov edi, dword [edi + 4]
add edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cmp dword [edi + 4], eax
mov dword [esp + 0x2c], edi
jne 0x46bbac
cmp eax, 1
jne 0x46bae7
test esi, esi
mov ebx, dword [esp + 0x18]
je 0x46ba89
mov ecx, dword [esp + 0x78]
mov eax, ecx
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x46ba96
call fcn.005416ed
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x14]
mov ebp, dword [esp + 0x20]
cmp dword [esi + ebp], eax
jle 0x46bac7
test esi, esi
je 0x46bab5
mov eax, ecx
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x46bac2
call fcn.005416ed
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edi, dword [esi + ebp]
jmp 0x46bac9
mov edi, eax
test esi, esi
je 0x46bad6
sub ecx, esi
sar ecx, 2
cmp ebx, ecx
jb 0x46badf
call fcn.005416ed
mov esi, dword [esp + 0x74]
mov dword [esi + ebp], edi
jmp 0x46bba8
mov ecx, dword [esp + 0x78]
xor ebp, ebp
xor edi, edi
test eax, eax
jle 0x46bb28
mov ebx, dword [esp + 0x20]
test esi, esi
je 0x46bb0c
mov edx, dword [esp + 0x18]
mov eax, ecx
sub eax, esi
sar eax, 2
add edx, edi
cmp edx, eax
jb 0x46bb19
call fcn.005416ed
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
add ebp, dword [ebx + esi]
add edi, 1
add ebx, 4
cmp edi, dword [esp + 0x14]
jl 0x46baf7
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
cmp ebp, eax
jge 0x46bbac
sub eax, ebp
cdq
idiv dword [esp + 0x14]
test esi, esi
mov ebx, eax
je 0x46bb4f
sub ecx, esi
sar ecx, 2
cmp dword [esp + 0x18], ecx
jb 0x46bb58
call fcn.005416ed
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x14]
sub eax, ebp
cdq
idiv ecx
mov edi, dword [esp + 0x20]
add dword [esi + edi], edx
xor esi, esi
test ecx, ecx
jle 0x46bba8
mov eax, dword [esp + 0x74]
test eax, eax
je 0x46bb90
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x46bb99
call fcn.005416ed
mov eax, dword [esp + 0x74]
add dword [eax + edi], ebx
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x14]
jl 0x46bb75
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x48], 0x1c
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
jl 0x46ba20
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x10
add dword [esp + 0x20], 4
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jl 0x46b9d0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jle 0x46b9b0
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0xa4]
mov ecx, dword [edx + 0xac]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x128]
lea ebx, [ecx + ebp - 1]
add dword [eax], ebx
mov ebx, dword [esp + 0x28]
lea ecx, [ecx + ebx - 1]
add dword [eax + 4], ecx
xor ebx, ebx
test ebp, ebp
jle 0x46bc73
test edi, edi
je 0x46bc42
mov ecx, dword [esp + 0x68]
sub ecx, edi
sar ecx, 2
cmp ebx, ecx
jb 0x46bc5d
call fcn.005416ed
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0xa4]
mov ecx, dword [edi + ebx*4]
add ecx, dword [edx + 0xac]
add ebx, 1
add dword [eax], ecx
cmp ebx, ebp
jl 0x46bc31
mov esi, dword [esp + 0x74]
xor edi, edi
cmp dword [esp + 0x28], edi
jle 0x46bcb8
test esi, esi
je 0x46bc8c
mov ecx, dword [esp + 0x78]
sub ecx, esi
sar ecx, 2
cmp edi, ecx
jb 0x46bca3
call fcn.005416ed
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esi + edi*4]
add ecx, dword [edx + 0xac]
add edi, 1
add dword [eax + 4], ecx
cmp edi, dword [esp + 0x28]
jl 0x46bc7b
cmp dword [edx + 0x8c], 6
mov ecx, dword [edx + 0x90]
jne 0x46bcca
lea ecx, [ecx + ecx*2]
add ecx, ecx
add dword [eax], ecx
add dword [eax + 4], ecx
jmp 0x46bcf6
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0xa4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov eax, dword [edx + 0xc]
test eax, eax
je 0x46bd0e
mov edx, dword [edx + 0x10]
sub edx, eax
sar edx, 6
cmp dword [esp + 0xb4], edx
jb 0x46bd13
call fcn.005416ed
mov edi, dword [esp + 0xa4]
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0xb8]
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00466880
lea eax, [esp + 0x60]
push eax
lea ecx, [esi + 0x10]
call fcn.00460c10
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esi + 0x20]
call fcn.00460c10
lea edx, [esp + 0x80]
push edx
lea ecx, [esi + 0x30]
call fcn.00460c10
push 5
push str.table
lea ecx, [edi + 0x40]
call fcn.00402290
push 1
mov ecx, edi
call fcn.00466780
test eax, eax
je 0x46bd7d
mov ecx, edi
call fcn.004558f0
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
mov byte [esp + 0x120], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bda8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
mov byte [esp + 0x120], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bdd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
call fcn.00466570
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 0xc