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

Disassembly:
push 0xffffffffffffffff
push 0x4f6d80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x46c2d2
mov eax, dword [0x55f4fc]
test eax, eax
jne 0x46c2d2
call fcn.004d01e5
mov ecx, dword [eax + 0x284]
test ecx, ecx
je 0x46c2d2
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x46aebc
mov eax, dword [ebp + 0x50]
mov esi, dword [ebp + 0x48]
mov edi, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x78], esi
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0x10c]
mov dword [esp + 0x40], 2
mov dword [esp + 0x58], eax
jmp 0x46aef0
mov ebx, dword [eax + 0x10]
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x14], ebx
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x78], esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0
mov ebx, dword [0x536214]
mov eax, esi
imul ebx, edx
sub eax, ebx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0x84], eax
mov esi, dword [ebx + 4]
cmp ecx, esi
jle 0x46af14
mov esi, ecx
mov eax, esi
sub eax, ecx
cdq
idiv dword [0x536200]
sub esi, edx
mov edx, dword [ebx + 0xc]
mov eax, esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x74], eax
sub eax, ecx
cdq
idiv dword [0x536200]
xor ecx, ecx
add eax, edi
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x88]
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x46af65
mov edx, dword [ecx + 0x2a4]
xor edi, edi
mov dword [esp + 0x3c], edx
jmp 0x46af8c
mov eax, dword [ecx + 0x74]
xor edi, edi
cmp eax, edi
jne 0x46af82
cmp dword [ecx + 0x80], edi
jne 0x46af82
mov eax, dword [ecx + 0x284]
mov dword [esp + 0x3c], eax
jmp 0x46af8c
mov edx, dword [ecx + 0x154]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 0x284]
mov dword [esp + 0x48], edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
cmp eax, edi
mov dword [esp + 0x9c], edi
jne 0x46b035
mov edx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x58]
push edx
push eax
lea edx, [esp + 0xa4]
lea eax, [esp + 0x50]
push edx
push eax
call fcn.00453e10
mov ecx, dword [esp + 0x48]
cmp ecx, edi
jle 0x46b035
mov eax, dword [ebp + 0x114]
mov esi, dword [ebp + 0x60]
cdq
idiv dword [0x536200]
add eax, esi
cmp ecx, eax
jle 0x46b035
mov eax, dword [ebp + 0x88]
dec ecx
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x98], edi
je 0x46b003
mov edx, dword [eax + 0x2a0]
lea ecx, [ecx + ecx*2]
jmp 0x46b02a
cmp dword [eax + 0x74], edi
jne 0x46b021
cmp dword [eax + 0x80], edi
jne 0x46b021
mov eax, dword [eax + 0x2d8]
shl ecx, 5
mov ecx, dword [eax + ecx]
lea eax, [ecx - 1]
jmp 0x46b02e
mov edx, dword [eax + 0x150]
lea ecx, [ecx + ecx*2]
mov eax, dword [edx + ecx*4 + 8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx]
mov esi, dword [esp + 0xd8]
cmp ecx, eax
jg 0x46b70c
mov edi, dword [esp + 0x34]
push 2
push esi
mov dword [esp + 0x4c], edi
call dword [0x4fd134]
mov ecx, dword [0x5317d0]
push ecx
push esi
call dword [0x4fd1d0]
mov edx, dword [0x53179c]
push edx
push esi
call dword [0x4fd1a8]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x46b0d6
mov eax, dword [ebp + 0x88]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x46b0d6
mov ecx, dword [0x5317f0]
mov esi, dword [0x4fd198]
push ecx
push 0
push 0
call esi
mov edx, dword [0x5317f4]
mov dword [esp + 0x7c], eax
push edx
push 0
push 0
call esi
mov esi, dword [0x4fd17c]
mov dword [esp + 0x54], eax
mov eax, dword [0x5317bc]
push eax
call esi
mov ecx, dword [0x5317c0]
mov dword [esp + 0x6c], eax
push ecx
call esi
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x4c]
cmp ebp, eax
mov dword [esp + 0x20], ebp
jge 0x46b521
mov eax, dword [0x536200]
mov ebx, dword [esp + 0xd8]
jmp 0x46b107
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
add eax, ebp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
cmp edi, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edx
jge 0x46b4e2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x88]
mov edx, dword [eax + 0x98]
test edx, edx
je 0x46b169
cmp edi, dword [eax + 0x2a4]
jge 0x46b163
mov eax, dword [eax + 0x2a0]
lea edx, [edi + edi*2]
lea edx, [eax + edx*4]
mov esi, dword [edx]
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46b1b8
xor eax, eax
xor esi, esi
jmp 0x46b1b8
mov edx, dword [eax + 0x74]
test edx, edx
jne 0x46b180
mov edx, dword [eax + 0x80]
test edx, edx
jne 0x46b180
mov esi, edi
xor eax, eax
jmp 0x46b1b8
cmp edi, dword [eax + 0x154]
jge 0x46b1a2
mov eax, dword [eax + 0x150]
lea edx, [edi + edi*2]
lea edx, [eax + edx*4]
mov esi, dword [edx]
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46b1b8
push 0
push 0
push 0x52a2ac
call fcn.004dad19
mov ecx, dword [esp + 0x10]
xor eax, eax
xor esi, esi
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x46b288
mov edx, dword [0x55f834]
test edx, edx
je 0x46b288
cmp edi, dword [esp + 0x48]
jne 0x46b288
mov edx, dword [ecx + 0xd4]
test edx, edx
je 0x46b288
test eax, eax
jne 0x46b20e
mov eax, dword [ecx + 0x88]
mov ecx, esi
shl ecx, 5
mov edx, dword [eax + 0x2d8]
mov eax, dword [edx + ecx + 0x14]
test eax, eax
je 0x46b20e
mov eax, 1
jmp 0x46b210
xor eax, eax
push eax
push ebp
push 0
push ebx
mov ecx, 0x531738
call fcn.0040a8e0
mov ecx, dword [0x55f860]
test ecx, ecx
jle 0x46b27c
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x94], eax
sub eax, ecx
push 0
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x90]
push 0
push ecx
push edx
push 0
push 0
push ebx
mov dword [esp + 0xac], eax
call dword [0x4fd1d8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x88]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x46b2f9
test edi, edi
je 0x46b2f9
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x46b2c3
mov edx, dword [eax + 0x2a0]
lea ecx, [edi + edi*2]
lea ecx, [edx + ecx*4]
mov edx, ecx
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46b2e8
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x46b2f9
mov edx, dword [eax + 0x150]
lea ecx, [edi + edi*2]
lea ecx, [edx + ecx*4]
mov edx, ecx
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
xor edx, edx
test ecx, ecx
setg dl
mov ecx, edx
test ecx, ecx
jne 0x46b4e2
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x46b360
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x46b316
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x46b360
lea ecx, [esp + 0xb4]
push 0xa
lea edx, [esi + 1]
push ecx
push edx
call fcn.004be873
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x40]
push 0
not ecx
dec ecx
lea eax, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
mov edx, dword [esp + 0x2c]
push ebp
sub eax, edx
push eax
jmp 0x46b374
mov edx, dword [esp + 0x40]
push 0
push 0
lea ecx, [esp + 0x64]
push 0
push ecx
push edx
push 0
push 0
push ebx
call dword [0x4fd1d8]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x46b4fd
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x88]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x46b4fd
mov ecx, dword [esp + 0xdc]
cmp dword [ecx + 8], 0xa
jle 0x46b4fd
mov edx, dword [esp + 0x70]
dec edx
cmp esi, edx
jge 0x46b4fd
mov eax, dword [eax + 0x2d8]
shl esi, 5
add esi, eax
mov eax, dword [esi]
dec eax
test eax, eax
jle 0x46b4fd
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x46b4fd
jle 0x46b400
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0xd8]
mov edi, dword [0x4fd1b0]
push ecx
push esi
call edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
push edx
jmp 0x46b41e
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0xd8]
mov edi, dword [0x4fd1b0]
push eax
push esi
call edi
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
push ecx
push esi
call edi
mov esi, dword [0x55f860]
mov dword [esp + 0xa0], eax
mov eax, dword [0x536200]
mov edi, dword [esp + 0x20]
sub eax, esi
sub eax, 9
cdq
sub eax, edx
mov edx, dword [esp + 0xd8]
mov esi, eax
mov eax, dword [esp + 0x64]
sar esi, 1
add esi, edi
lea ebp, [esi + 9]
push ebp
push eax
add eax, 0xfffffff7
push esi
push eax
push edx
call dword [0x4fd170]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xd8]
lea edi, [esi + 4]
push 0
add eax, 0xfffffff7
push edi
push eax
push ecx
call dword [0x4fd19c]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0xd8]
push edi
push edx
push eax
call dword [0x4fd1a0]
test ebx, ebx
jle 0x46b4c0
mov ecx, dword [esp + 0x64]
push 0
push esi
mov esi, dword [esp + 0xe0]
add ecx, 0xfffffffb
push ecx
push esi
call dword [0x4fd19c]
mov edx, dword [esp + 0x64]
push ebp
add edx, 0xfffffffb
push edx
push esi
call dword [0x4fd1a0]
jmp 0x46b4c7
mov esi, dword [esp + 0xd8]
mov eax, dword [esp + 0x50]
mov edi, dword [0x4fd1b0]
push eax
push esi
call edi
mov ecx, dword [esp + 0xa0]
push ecx
push esi
call edi
jmp 0x46b4fd
mov eax, dword [esp + 0x40]
push 0
push 0
lea edx, [esp + 0x64]
push 0
push edx
push eax
push 0
push 0
push ebx
call dword [0x4fd1d8]
mov eax, dword [0x536200]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
add ecx, eax
inc edi
cmp ecx, edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], ecx
jl 0x46b0f8
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
test edi, edi
jne 0x46b55f
mov ecx, dword [ebp + 0x88]
mov eax, dword [ecx + 0x80]
test eax, eax
je 0x46b55f
mov edx, dword [esp + 0x7c]
mov esi, dword [0x4fd1e0]
push edx
call esi
mov eax, dword [esp + 0x54]
push eax
call esi
mov ecx, dword [esp + 0x6c]
push ecx
call esi
mov edx, dword [esp + 0x38]
push edx
call esi
mov eax, dword [esp + 0xd8]
push 0
push eax
call dword [0x4fd134]
test edi, edi
jne 0x46b6f7
mov ecx, dword [ebp + 0x88]
mov eax, dword [ecx + 0xec]
test eax, eax
jle 0x46b6f7
mov eax, dword [0x55f834]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x46b5a6
mov eax, dword [ebp + 0xd4]
mov dword [esp + 0x38], edi
test eax, eax
jne 0x46b5ae
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x4c]
cmp eax, ebx
mov edi, eax
jge 0x46b6f7
cmp esi, dword [esp + 0x3c]
jge 0x46b6f7
mov eax, dword [ebp + 0x88]
test esi, esi
je 0x46b632
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x46b5fc
mov ecx, dword [eax + 0x2a0]
lea edx, [esi + esi*2]
lea edx, [ecx + edx*4]
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46b621
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x46b632
mov edx, dword [eax + 0x150]
lea ecx, [esi + esi*2]
lea ecx, [edx + ecx*4]
mov edx, ecx
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
xor edx, edx
test ecx, ecx
setg dl
mov ecx, edx
test ecx, ecx
jne 0x46b6e6
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x46b664
cmp esi, dword [eax + 0x2a4]
jge 0x46b6ae
mov edx, dword [eax + 0x2a0]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
jmp 0x46b6b0
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x46b679
mov ecx, dword [eax + 0x80]
test ecx, ecx
jne 0x46b679
mov eax, esi
jmp 0x46b6b0
cmp esi, dword [eax + 0x154]
jge 0x46b6a0
mov eax, dword [eax + 0x150]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
mov eax, dword [eax + edx*4]
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
jmp 0x46b6b0
push 0
push 0
push 0x52a2ac
call fcn.004dad19
xor eax, eax
cmp esi, dword [esp + 0x48]
jne 0x46b6be
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x46b6e6
mov edx, dword [ebp + 0x88]
shl eax, 5
mov ecx, dword [edx + 0x2d8]
mov edx, dword [ecx + eax + 0x14]
test edx, edx
je 0x46b6e6
mov edx, dword [esp + 0xd8]
push edi
push edx
call fcn.0040a650
add esp, 8
mov ecx, dword [0x536200]
inc esi
add edi, ecx
cmp edi, ebx
jl 0x46b5c0
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov ebx, eax
mov dword [eax], ecx
xor edi, edi
mov edx, dword [ebx + 8]
mov eax, dword [ebx]
cmp edx, eax
jle 0x46c2d2
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], edi
cmp dword [eax + 0x74], edi
je 0x46b73b
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x44], 1
cmp ecx, edi
jne 0x46b73f
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
cmp edx, ecx
jge 0x46bb27
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x46b786
mov ecx, edx
mov edx, dword [eax + 0x2a4]
cmp ecx, edx
jge 0x46b7da
mov eax, dword [eax + 0x2a0]
lea edx, [ecx + ecx*2]
lea ecx, [eax + edx*4]
mov eax, dword [eax + edx*4]
mov edi, eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
jmp 0x46b7dc
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x46b79d
mov ecx, dword [eax + 0x80]
test ecx, ecx
jne 0x46b79d
mov edi, dword [esp + 0x34]
jmp 0x46b7dc
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0x154]
cmp ecx, edx
jge 0x46b7cc
mov eax, dword [eax + 0x150]
lea edx, [ecx + ecx*2]
lea ecx, [eax + edx*4]
mov eax, dword [eax + edx*4]
mov edi, eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
jmp 0x46b7dc
push 0
push 0
push 0x52a2ac
call fcn.004dad19
xor edi, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edi
mov eax, dword [edx + 0xe8]
test eax, eax
jne 0x46ba97
mov eax, edx
mov esi, dword [eax + 0x88]
mov eax, dword [esi + 0xe8]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
lea eax, [eax + edx*2]
mov ecx, dword [eax*4 + 0x531b54]
test ecx, ecx
je 0x46ba97
mov eax, dword [0x535440]
test eax, eax
jne 0x46ba97
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
sub ecx, edx
xor ebp, ebp
mov eax, ecx
cdq
idiv dword [0x536200]
mov ebx, eax
cmp ebx, ebp
jle 0x46b84e
mov eax, ecx
cdq
idiv dword [0x536200]
test edx, edx
jne 0x46b84e
dec ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ecx]
lea ecx, [edx - 1]
cmp ecx, eax
jge 0x46b862
mov eax, ecx
cmp dword [esi + 0x98], ebp
je 0x46b891
cmp eax, dword [esi + 0x2a4]
jge 0x46b8d1
mov ecx, dword [esi + 0x2a0]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46b8d3
cmp dword [esi + 0x74], ebp
jne 0x46b89e
cmp dword [esi + 0x80], ebp
je 0x46b8d3
cmp eax, dword [esi + 0x154]
jge 0x46b8c5
mov ecx, dword [esi + 0x150]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46b8d3
push ebp
push ebp
push 0x52a2ac
call fcn.004dad19
xor eax, eax
cmp edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jg 0x46ba97
mov esi, edi
shl esi, 5
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x88]
mov edx, dword [ecx + 0x2d8]
mov edx, dword [edx + esi + 0x1c]
cmp edx, 0xffffffff
mov dword [esp + 0x38], edx
jne 0x46ba83
mov eax, dword [ecx + 0x2d8]
lea edx, [eax + esi]
mov eax, dword [eax + esi]
mov edx, dword [edx + 0xc]
lea edi, [eax - 1]
mov eax, dword [ecx + 0x2d8]
add eax, esi
mov eax, dword [eax + 8]
mov dword [esp + 0x88], 0x504f70
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebp
mov ebx, dword [ecx + 0xa8]
lea ecx, [esp + 0x88]
push ecx
cmp ebx, ebp
push edx
mov dword [esp + 0xd8], ebp
push 0
je 0x46b976
mov ecx, dword [esp + 0x1c]
push edi
push eax
call fcn.0046e8c0
jmp 0x46b983
mov ecx, dword [esp + 0x1c]
push 0
push edi
push eax
call fcn.0046cc50
mov ebp, eax
lea edx, [esp + 0x38]
lea eax, [esp + 0x88]
push edx
push eax
call fcn.0046ad40
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov ebx, eax
mov dword [esp + 0x5c], ecx
mov edi, dword [edx + 0x88]
mov eax, dword [edi + 0x2d8]
mov eax, dword [esi + eax + 0x18]
push eax
call fcn.004d2e05
mov ecx, dword [edi + 0x2d8]
mov eax, dword [esp + 0x60]
add esp, 0xc
mov dword [esi + ecx + 0x18], ebx
mov edx, dword [edi + 0x2d8]
mov dword [esi + edx + 0x1c], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x46ba44
mov eax, dword [0x535440]
test eax, eax
jne 0x46ba44
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x18]
dec ecx
cmp ebx, ecx
jge 0x46ba44
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x88]
mov eax, dword [edi + 0x2d8]
cmp ebp, dword [eax + esi + 0x2c]
je 0x46ba44
mov ecx, eax
mov dword [esi + ecx + 0x2c], ebp
mov edx, dword [edi + 0x2d8]
mov eax, dword [esi + edx + 0x38]
push eax
call fcn.004d2e05
mov eax, dword [edi + 0x2d8]
add esp, 4
inc ebx
mov dword [esi + eax + 0x38], 0
mov ecx, dword [edi + 0x2d8]
mov dword [esp + 0x6c], ebx
mov dword [esi + ecx + 0x3c], 0xffffffff
mov dword [esp + 0x88], 0x504f70
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xd0], 1
test eax, eax
je 0x46ba6e
push eax
call fcn.004d2e05
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xd0], 0xffffffff
xor ebp, ebp
mov ecx, dword [esp + 0x18]
add esi, 0x20
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jle 0x46b8e8
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46bb27
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
test eax, eax
mov ecx, dword [esi + 0x88]
je 0x46bb27
mov edx, dword [ecx + 0x98]
test edx, edx
je 0x46badd
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x2a0]
lea edx, [eax + edx*4]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46bb02
mov edx, dword [ecx + 0x74]
test edx, edx
je 0x46bb27
mov edx, dword [ecx + 0x150]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
xor edx, edx
test eax, eax
setg dl
mov eax, edx
test eax, eax
je 0x46bb27
push 0
push edi
call fcn.0044e550
mov ecx, dword [esi + 0x88]
push eax
call fcn.00455070
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
jle 0x46bb9a
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0x78]
mov eax, dword [esi]
cmp eax, edi
jge 0x46bb9a
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x64], ebp
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x4c]
cmp ecx, edx
jle 0x46bb6b
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xd8]
push 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
push 0
lea edx, [esp + 0x64]
push 0
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x84], edi
call dword [0x4fd1d8]
mov dword [esi], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
test eax, eax
jne 0x46bbc2
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x58], 1
mov eax, dword [edx + 0x9c]
test eax, eax
jne 0x46bbca
mov dword [esp + 0x58], 0
mov eax, dword [0x531790]
mov esi, dword [esp + 0xd8]
push eax
push esi
call dword [0x4fd1a8]
push 1
push esi
call dword [0x4fd1d4]
mov ecx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x34]
mov edx, dword [ecx]
mov dword [esp + 0x18], esi
mov dword [esp + 0xa4], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0xa8], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0xac], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x4c]
cmp ebp, eax
jge 0x46c173
jmp 0x46bc33
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jge 0x46c173
mov ecx, eax
mov eax, dword [0x55f82c]
dec ecx
xor edx, edx
cmp ecx, esi
sete dl
xor edi, edi
mov dword [esp + 0x54], edx
cmp eax, edi
je 0x46bca8
cmp esi, dword [esp + 0x48]
jne 0x46bca8
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x1b0], edi
jne 0x46bc72
cmp dword [ebx + 0x1b4], edi
je 0x46bc7c
push edi
push 1
mov ecx, ebx
call fcn.00471380
mov eax, dword [0x5317c4]
mov edx, dword [0x531794]
mov ecx, dword [0x5317c8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xd8]
push edx
push eax
mov dword [0x5317c4], ecx
call dword [0x4fd1a8]
jmp 0x46bcac
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x536200]
mov eax, dword [esp + 0x40]
push edi
push edi
lea edx, [esp + 0xac]
add ecx, ebp
push edi
push edx
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xe8]
push eax
push edi
push edi
push ecx
mov dword [esp + 0xc8], ebp
call dword [0x4fd1d8]
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x98], edi
je 0x46bd17
cmp esi, dword [eax + 0x2a4]
jge 0x46bd64
mov eax, dword [eax + 0x2a0]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
mov edi, dword [eax + edx*4]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], edx
jmp 0x46bd68
cmp dword [eax + 0x74], edi
jne 0x46bd30
cmp dword [eax + 0x80], edi
jne 0x46bd30
mov edi, esi
mov dword [esp + 0x14], 0
jmp 0x46bd68
cmp esi, dword [eax + 0x154]
jge 0x46bd58
mov edx, dword [eax + 0x150]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, eax
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], edx
jmp 0x46bd68
push edi
push edi
push 0x52a2ac
call fcn.004dad19
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46be04
mov ecx, dword [ebx + 0x88]
test esi, esi
je 0x46bdda
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x46bda8
mov edx, dword [ecx + 0x2a0]
lea eax, [esi + esi*2]
lea eax, [edx + eax*4]
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
jmp 0x46bdcd
mov eax, dword [ecx + 0x74]
test eax, eax
je 0x46bdda
mov edx, dword [ecx + 0x150]
lea eax, [esi + esi*2]
lea eax, [edx + eax*4]
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
xor edx, edx
test eax, eax
setg dl
mov eax, edx
test eax, eax
jne 0x46bdfc
push 0
push edi
call fcn.0044e550
mov ecx, dword [ebx + 0x88]
push eax
call fcn.00455070
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], 0
jmp 0x46be04
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x46be23
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x2a0]
lea ecx, [ecx + ecx*2]
jmp 0x46be56
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x46be49
mov ecx, dword [eax + 0x80]
test ecx, ecx
jne 0x46be49
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + 0x2d8]
mov edx, ecx
shl edx, 5
mov ebx, dword [esi + edx]
dec ebx
jmp 0x46be5e
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x150]
lea ecx, [ecx + ecx*2]
mov ebx, dword [edx + ecx*4 + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x2d8]
shl edi, 5
add edx, edi
mov esi, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x98]
test edx, edx
mov dword [esp + 0x70], esi
je 0x46bead
mov edx, dword [eax + 0x2a0]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 0x2d8]
lea ecx, [edx + ecx*4]
mov esi, ecx
mov ecx, dword [esi]
shl ecx, 5
mov edx, dword [esi + 4]
mov ecx, dword [eax + ecx + 8]
mov esi, dword [esi + 8]
mov dword [esp + 0x30], esi
lea edi, [ecx + edx*2]
jmp 0x46bf14
mov edx, dword [eax + 0x74]
test edx, edx
jne 0x46becd
mov edx, dword [eax + 0x80]
test edx, edx
jne 0x46becd
mov edx, dword [eax + 0x2d8]
shl ecx, 5
mov edi, dword [edx + ecx + 8]
jmp 0x46bf14
mov edx, dword [eax + 0x150]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
mov edx, ecx
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x284]
dec edx
cmp edx, ecx
mov esi, edx
jl 0x46bef6
mov esi, ecx
test esi, esi
jge 0x46befe
xor ecx, ecx
jmp 0x46bf04
cmp edx, ecx
jge 0x46bf04
mov ecx, edx
mov eax, dword [eax + 0x2d8]
shl ecx, 5
mov ecx, dword [eax + ecx + 8]
lea edi, [ecx + edi*2]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x84]
add edx, eax
cmp ebx, 0x1000
mov dword [esp + 0x80], edx
jle 0x46bfad
mov esi, 0x1000
lea eax, [edi + 0x1ffe]
mov cx, word [eax]
cmp cx, 0x20
je 0x46bf56
cmp cx, 9
je 0x46bf56
dec esi
sub eax, 2
cmp esi, 0x800
jg 0x46bf3b
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
mov edx, dword [esp + 0xec]
push eax
push esi
push edi
lea ecx, [esp + 0xa0]
push ebp
push ecx
mov ecx, dword [esp + 0x38]
push edx
call fcn.0046ab00
mov ecx, dword [esp + 0x14]
sub ebx, esi
add ecx, esi
cmp ebx, 0x1000
lea edi, [edi + esi*2]
mov dword [esp + 0x14], ecx
jg 0x46bf30
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
push esi
push eax
push ecx
push ebx
mov ebx, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0xf8]
lea edx, [esp + 0xa0]
push ebp
push edx
push edi
mov ecx, ebx
call fcn.0046ab00
test esi, esi
jne 0x46c101
mov eax, dword [0x55f838]
test eax, eax
je 0x46c101
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x46c0bd
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x88]
inc eax
test eax, eax
je 0x46c07d
mov edx, dword [ecx + 0x98]
test edx, edx
je 0x46c048
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x2a0]
lea ecx, [eax + edx*4]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
jmp 0x46c06c
mov edx, dword [ecx + 0x74]
test edx, edx
je 0x46c07d
mov ecx, dword [ecx + 0x150]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
xor edx, edx
test eax, eax
setg dl
mov eax, edx
test eax, eax
jne 0x46c101
mov byte [esp + 0x1f], 0xb6
mov eax, dword [0x5317e4]
push eax
push edi
call dword [0x4fd1d0]
mov eax, dword [0x528adc]
test eax, eax
je 0x46c0c4
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x80]
push 0
lea ecx, [esp + 0x23]
push 1
push ecx
push edx
push 4
push ebp
push eax
push edi
call dword [0x4fd1d8]
jmp 0x46c101
mov byte [esp + 0x1f], 0xa4
jmp 0x46c082
mov ecx, dword [0x5361e4]
mov esi, dword [0x4fd1b0]
push ecx
push edi
call esi
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x80]
push 0
lea edx, [esp + 0x23]
push 1
push edx
push eax
push 4
push ebp
push ecx
push edi
call dword [0x4fd1d8]
mov edx, dword [0x5361ec]
push edx
push edi
call esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x46c12a
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax + 8]
mov eax, dword [0x536200]
push ecx
add eax, ebp
push edx
push eax
push ebp
push edi
mov ecx, ebx
call fcn.0046aa50
mov eax, dword [0x55f82c]
test eax, eax
je 0x46c156
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jne 0x46c156
mov eax, dword [0x531790]
mov edx, dword [esp + 0x7c]
push eax
push edi
mov dword [0x5317c4], edx
call dword [0x4fd1a8]
mov ecx, dword [0x536200]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
add ebp, ecx
inc edx
cmp ebp, eax
mov dword [esp + 0x18], edx
jl 0x46bc2f
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [0x4fd6a8]
push eax
call fcn.004cec1b
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x46c1ee
mov edx, dword [ebx + 0x88]
mov ecx, dword [edx + 0xf8]
test ecx, ecx
je 0x46c1ee
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
cmp ecx, edi
jge 0x46c1ee
mov edx, dword [eax]
push 0
push 0
mov ecx, eax
call dword [edx + 0xe0]
cmp eax, ebx
jne 0x46c1ee
mov esi, dword [esp + 0xdc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
push esi
push edi
mov edi, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
push eax
push edi
mov ecx, ebx
call fcn.00469310
jmp 0x46c1fc
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov eax, dword [esi + 0xc]
cmp ebp, eax
jge 0x46c2ab
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x46c276
mov eax, dword [0x536200]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
add eax, ebp
push eax
push ecx
push ebp
lea eax, [esp + 0xb0]
push edx
push eax
call dword [0x4fd640]
mov edx, dword [esp + 0x40]
push 0
push 0
lea ecx, [esp + 0xac]
push 0
push ecx
push edx
push 0
push 0
push edi
call dword [0x4fd1d8]
mov eax, dword [esi + 8]
mov edx, dword [0x536200]
mov ecx, dword [esp + 0x78]
push eax
add edx, ebp
push ecx
push edx
push ebp
push edi
mov ecx, ebx
call fcn.0046aa50
mov eax, dword [0x536200]
mov ecx, dword [esi + 0xc]
add ebp, eax
cmp ebp, ecx
jl 0x46c214
jmp 0x46c2ab
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 8]
lea edx, [esp + 0xa8]
push eax
push ebp
push ecx
push edx
call dword [0x4fd640]
mov ecx, dword [esp + 0x40]
push 0
push 0
lea eax, [esp + 0xac]
push 0
push eax
push ecx
push 0
push 0
push edi
call dword [0x4fd1d8]
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x46c2d2
mov edx, dword [ebx + 0x88]
push eax
mov ecx, dword [edx + 0xa8]
test ecx, ecx
mov ecx, ebx
je 0x46c2cd
call fcn.0046c490
jmp 0x46c2d2
call fcn.0046c2f0
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 0xc