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

Disassembly:
push 0xffffffffffffffff
push 0x68673f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x58], 0
mov al, byte [esp + 0x6c]
mov ebx, 1
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x3c], al
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6dfe28
lea ecx, [esp + 0x40]
call fcn.004083a0
mov eax, dword [ebp + 0x2f4]
mov byte [esp + 0x64], 2
test eax, eax
jne 0x4613f1
mov esi, dword [esp + 0x6c]
mov cl, byte [esp + 0x38]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x38]
push edx
push 0
push eax
mov ecx, esi
call fcn.00402fc0
mov dword [esp + 0x58], ebx
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], bl
call fcn.004031c0
push ebx
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0
call fcn.004031c0
jmp 0x4619d5
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
test esi, esi
mov dword [esp + 0x14], ebx
jne 0x461406
mov esi, 0x6a3560
mov cl, byte [esp + 0x6c]
push 0
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x4c]
call fcn.004031c0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x50]
call fcn.004083a0
mov ecx, dword [ebp + 0x2f4]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push ebx
push eax
mov byte [esp + 0x70], 3
call fcn.0042bcd0
test eax, eax
push 1
lea ecx, [esp + 0x4c]
sete bl
mov byte [esp + 0x68], 2
call fcn.004031c0
test bl, bl
je 0x461499
mov esi, dword [esp + 0x6c]
mov cl, byte [esp + 0x38]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x38]
push edx
push 0
push eax
mov ecx, esi
call fcn.00402fc0
mov dword [esp + 0x58], 1
jmp 0x461615
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x84]
sub eax, ecx
mov cl, byte [esp + 0x6c]
sub esi, ebx
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x6c]
mov byte [esp + 0x64], 4
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x84], dl
call fcn.004031c0
mov edi, 0x6d3a58
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6d3a58
lea ecx, [esp + 0x88]
call fcn.004083a0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x80]
push eax
push 2
push ecx
mov ecx, dword [ebp + 0x2f4]
mov byte [esp + 0x70], 5
call fcn.0042bcd0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.004031c0
cmp dword [esp + 0x24], esi
jle 0x46163a
mov dl, byte [esp + 0x6c]
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x84], dl
call fcn.004031c0
mov edi, 0x6d44a8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6d44a8
lea ecx, [esp + 0x88]
call fcn.004083a0
mov ecx, dword [ebp + 0x2f4]
lea eax, [esp + 0x80]
push ebx
push eax
mov byte [esp + 0x6c], 6
call fcn.00429bf0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.004031c0
mov esi, dword [esp + 0x6c]
mov cl, byte [esp + 0x38]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x38]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00402fc0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 1
mov byte [esp + 0x6c], 2
call fcn.004748c0
mov eax, dword [esp + 0x2c]
push eax
call fcn.006713a0
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 1
call fcn.004031c0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0
call fcn.004031c0
jmp 0x4619d5
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], 0
call fcn.005b9770
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp eax, ebp
jge 0x4617e2
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov esi, eax
cmp ecx, eax
jb 0x461693
test edi, edi
je 0x461693
lea ecx, [esp + 0x70]
call fcn.00408320
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
lea ecx, [edi + esi]
jmp 0x461698
mov ecx, 0x6a3560
cmp byte [ecx], 0xa
jne 0x4616cf
inc eax
lea ecx, [ebp - 1]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x4617da
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.005b9770
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
jmp 0x4617da
mov ecx, dword [esp + 0x78]
mov esi, eax
cmp ecx, eax
jb 0x4616f3
test edi, edi
je 0x4616f3
lea ecx, [esp + 0x70]
call fcn.00408320
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
lea ecx, [edi + esi]
jmp 0x4616f8
mov ecx, 0x6a3560
mov cl, byte [ecx]
mov esi, eax
and cl, 0x80
neg cl
sbb ecx, ecx
neg ecx
inc ecx
mov ebp, ecx
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jb 0x461725
test edi, edi
je 0x461725
lea ecx, [esp + 0x70]
call fcn.00408320
mov edx, dword [esp + 0x74]
add esi, edx
jmp 0x46172a
mov esi, 0x6a3560
mov al, byte [esp + 0x6c]
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0x84], al
call fcn.004031c0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x88]
call fcn.004083a0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x84]
mov ecx, dword [eax + 0x2f4]
push ebp
push edx
mov byte [esp + 0x70], 7
call fcn.0042bcd0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.004031c0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, eax
jle 0x4617c2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor ebx, ebx
dec edx
cmp eax, edx
jge 0x4617c6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.005b9770
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x74]
add eax, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add ebx, ecx
cmp eax, ebp
jl 0x46166f
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x4617ee
xor ebx, ebx
jmp 0x4617f7
mov ebx, dword [esp + 0x30]
sub ebx, ecx
sar ebx, 2
lea eax, [ebx - 1]
xor ebp, ebp
xor esi, esi
cmp eax, ebp
jle 0x4618b5
mov eax, dword [ecx + esi*4 + 4]
mov edi, dword [ecx + esi*4]
sub eax, edi
cmp eax, ebp
jle 0x4618a9
push eax
mov edx, edi
lea eax, [esp + 0x84]
push edx
push eax
lea ecx, [esp + 0x7c]
call fcn.00408170
mov ecx, dword [0x6a3564]
mov byte [esp + 0x64], 8
push ecx
push ebp
push eax
lea ecx, [esp + 0x44]
call fcn.0040f4d0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.004031c0
mov eax, dword [esp + 0x40]
cmp eax, ebp
jle 0x4618a5
lea edi, [eax - 1]
cmp eax, edi
jb 0x46187d
cmp dword [esp + 0x3c], ebp
je 0x46187d
lea ecx, [esp + 0x38]
call fcn.00408320
mov edx, dword [esp + 0x3c]
lea eax, [edx + edi]
jmp 0x461882
mov eax, 0x6a3560
cmp byte [eax], 0xa
je 0x4618a5
mov edi, 0x6d39a4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6d39a4
lea ecx, [esp + 0x40]
call fcn.0040f5b0
mov ecx, dword [esp + 0x2c]
inc esi
lea eax, [ebx - 1]
cmp esi, eax
jl 0x461806
mov eax, dword [esp + 0x78]
mov edi, dword [ecx + ebx*4 - 4]
sub eax, edi
cmp eax, ebp
jle 0x46191d
push eax
mov eax, dword [ecx + esi*4]
lea ecx, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.00408170
mov edx, dword [0x6a3564]
lea ecx, [esp + 0x38]
push edx
push ebp
push eax
mov byte [esp + 0x70], 9
call fcn.0040f4d0
mov eax, dword [esp + 0x84]
mov byte [esp + 0x64], 4
cmp eax, ebp
je 0x46191d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x461914
cmp al, 0xff
je 0x461914
dec al
mov byte [ecx], al
jmp 0x46191d
push ecx
call fcn.006713a0
add esp, 4
mov esi, dword [esp + 0x6c]
mov al, byte [esp + 0x38]
lea edx, [esp + 0x38]
mov byte [esi], al
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov ecx, dword [0x6a3564]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.00402fc0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], 1
push eax
mov byte [esp + 0x68], 2
call fcn.006713a0
mov eax, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
cmp eax, ebp
mov byte [esp + 0x64], 1
je 0x461994
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x46198b
cmp al, 0xff
je 0x46198b
dec al
mov byte [ecx], al
jmp 0x461994
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
cmp ecx, ebp
mov byte [esp + 0x64], 0
je 0x4619c9
mov al, byte [ecx - 1]
test al, al
je 0x4619bf
cmp al, 0xff
je 0x4619bf
dec al
mov byte [ecx - 1], al
jmp 0x4619c9
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x24