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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x174
mov ebx, ecx
mov esi, dword [esp + 0x190]
mov al, byte [ebx + 0x1f2]
test al, al
jne 0x6d64a5
test esi, esi
jg 0x6d64b4
xor eax, eax
add esp, 0x174
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
lea edi, [ebx + 0x300]
xor ebp, ebp
mov eax, edi
mov edx, dword [ebx + 0x300]
test edx, edx
je 0x6d64de
lea esi, [esi]
lea edi, [edi]
inc ebp
mov eax, dword [eax + 4]
mov edx, dword [eax]
test edx, edx
jne 0x6d64d4
xor ecx, ecx
test ebp, ebp
jle 0x6d653e
mov dword [esp + 0x170], ebx
mov ebx, edi
xor edx, edx
test ecx, ecx
jle 0x6d652c
cmp ecx, 6
jl 0x6d6524
lea eax, [ecx - 6]
mov esi, esi
lea edi, [edi]
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 4]
add edx, 5
cmp edx, eax
jle 0x6d6504
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ebx + 4]
inc edx
cmp edx, ecx
jl 0x6d6524
mov eax, dword [ebx]
inc ecx
cmp ecx, ebp
mov byte [eax + 0x2e], 0
jl 0x6d64eb
mov ebx, dword [esp + 0x170]
lea ebp, [esi + esi]
add ebp, ebp
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x160], eax
add esp, 4
mov ecx, dword [esp + 0x188]
mov eax, dword [ecx]
mov edx, dword [ebx + 0x24c]
mov edi, dword [esp + 0x18c]
lea edx, [edx + edi*4]
push 0
push edx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x188]
mov eax, dword [ecx]
push 0
push ebp
mov edx, dword [esp + 0x164]
push edx
call dword [eax + 0x1c]
cmp eax, ebp
jne 0x6d76e7
mov ebp, 0xffffffff
xor eax, eax
lea ecx, [ebx + 0x134]
mov dword [esp + 0x158], ebp
mov dl, byte [ebx + 0x1cd]
test dl, dl
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x60], 0x7f
mov dword [ebx + 0x58], eax
mov eax, 0
mov dword [ebx + 0x5c], 0x78
mov dword [ebx + 4], 0x3f000000
mov dword [ebx + 0x68], 0x3f800000
mov dword [ebx + 0x6c], 0x3f800000
mov dword [ebx + 0x70], 0
mov dword [ebx + 8], 0x3f800000
mov dword [ebx + 0xc], 0x3f800000
mov dword [ebx + 0x10], 0x3f800000
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x3f800000
mov dword [ebx + 0x1c], 0x3f800000
mov dword [ebx + 0x20], 0x3f800000
mov dword [ebx + 0x24], 0x3f800000
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0x3f800000
mov dword [ebx + 0x30], 0x3f800000
mov dword [ebx + 0x34], 0x3f800000
mov dword [ebx + 0x38], 0x3f800000
mov dword [ebx + 0x3c], 0x3f800000
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov byte [ebx + 0x74], 1
mov dword [esp + 0x160], ecx
je 0x6d6684
mov edx, dword [ebx + 0x148]
mov dword [ebx + 0x58], edx
mov dl, byte [ebx + 0x1ce]
test dl, dl
je 0x6d6697
mov edx, dword [ebx + 0x14c]
mov dword [ebx + 0x5c], edx
mov dl, byte [ebx + 0x1d1]
test dl, dl
je 0x6d66aa
mov edx, dword [ebx + 0x158]
mov dword [ebx + 0x64], edx
mov dl, byte [ebx + 0x1d2]
test dl, dl
je 0x6d66bd
mov edx, dword [ebx + 0x15c]
mov dword [ebx + 0x60], edx
mov dl, byte [ebx + 0x1d3]
test dl, dl
je 0x6d66d0
mov edx, dword [ebx + 0x160]
mov dword [ebx + 8], edx
mov dl, byte [ebx + 0x1d4]
test dl, dl
je 0x6d66e3
mov edx, dword [ebx + 0x164]
mov dword [ebx + 0xc], edx
mov dl, byte [ebx + 0x1d5]
test dl, dl
je 0x6d66f6
mov edx, dword [ebx + 0x168]
mov dword [ebx + 0x10], edx
mov dl, byte [ebx + 0x1d6]
test dl, dl
je 0x6d6709
mov edx, dword [ebx + 0x16c]
mov dword [ebx + 0x14], edx
mov dl, byte [ebx + 0x1d7]
test dl, dl
je 0x6d671c
mov edx, dword [ebx + 0x170]
mov dword [ebx + 0x18], edx
mov dl, byte [ebx + 0x1d8]
test dl, dl
je 0x6d672f
mov edx, dword [ebx + 0x184]
mov dword [ebx + 0x1c], edx
mov dl, byte [ebx + 0x1d9]
test dl, dl
je 0x6d6742
mov edx, dword [ebx + 0x188]
mov dword [ebx + 0x20], edx
mov dl, byte [ebx + 0x1da]
test dl, dl
je 0x6d6755
mov edx, dword [ebx + 0x18c]
mov dword [ebx + 0x24], edx
mov dl, byte [ebx + 0x1db]
test dl, dl
je 0x6d6768
mov edx, dword [ebx + 0x190]
mov dword [ebx + 0x28], edx
mov dl, byte [ebx + 0x1dc]
test dl, dl
je 0x6d677b
mov edx, dword [ebx + 0x194]
mov dword [ebx + 0x2c], edx
mov dl, byte [ebx + 0x1de]
test dl, dl
je 0x6d678e
mov edx, dword [ebx + 0x174]
mov dword [ebx + 4], edx
mov dl, byte [ebx + 0x1df]
test dl, dl
je 0x6d67a1
mov edx, dword [ebx + 0x178]
mov dword [ebx + 0x68], edx
mov dl, byte [ebx + 0x1e0]
test dl, dl
je 0x6d67b4
mov dl, byte [ebx + 0x17c]
mov byte [ebx + 0x74], dl
mov dl, byte [ebx + 0x1e1]
test dl, dl
je 0x6d67c7
mov edx, dword [ebx + 0x198]
mov dword [ebx + 0x6c], edx
mov dl, byte [ebx + 0x1e2]
test dl, dl
je 0x6d67da
mov edx, dword [ebx + 0x19c]
mov dword [ebx + 0x70], edx
mov dl, byte [ebx + 0x1e5]
test dl, dl
je 0x6d67ed
mov edx, dword [ebx + 0x1a8]
mov dword [ebx + 0x30], edx
mov dl, byte [ebx + 0x1e6]
test dl, dl
je 0x6d6800
mov edx, dword [ebx + 0x1ac]
mov dword [ebx + 0x34], edx
mov dl, byte [ebx + 0x1ea]
test dl, dl
je 0x6d6813
mov edx, dword [ebx + 0x1bc]
mov dword [ebx + 0x38], edx
mov dl, byte [ebx + 0x1eb]
test dl, dl
je 0x6d6826
mov edx, dword [ebx + 0x1c0]
mov dword [ebx + 0x3c], edx
mov dl, byte [ebx + 0x1e3]
test dl, dl
je 0x6d6839
mov edx, dword [ebx + 0x1a0]
mov dword [ebx + 0x44], edx
mov dl, byte [ebx + 0x1e4]
test dl, dl
je 0x6d684c
mov edx, dword [ebx + 0x1a4]
mov dword [ebx + 0x40], edx
mov dl, byte [ebx + 0x1e7]
test dl, dl
je 0x6d685f
mov edx, dword [ebx + 0x1b0]
mov dword [ebx + 0x4c], edx
mov dl, byte [ebx + 0x1e8]
test dl, dl
je 0x6d6872
mov edx, dword [ebx + 0x1b4]
mov dword [ebx + 0x48], edx
mov dl, byte [ebx + 0x1e9]
test dl, dl
je 0x6d6885
mov edx, dword [ebx + 0x1b8]
mov dword [ebx + 0x50], edx
mov dl, byte [ebx + 0x1ec]
test dl, dl
je 0x6d6898
mov edx, dword [ebx + 0x1c4]
mov dword [ebx + 0x40], edx
xor edx, edx
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x10], edx
xor ecx, ecx
test esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x20], dl
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x78
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0x7f
mov dword [esp + 0x3c], eax
mov eax, 0
mov dword [esp + 0x40], eax
mov eax, 0x3f000000
mov dword [esp + 0x44], 0x3e4ccccd
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x3e99999a
mov eax, 0x3f000000
mov dword [esp + 0x50], eax
mov eax, 0x3f800000
mov dword [esp + 0x54], eax
mov eax, 0x3f800000
mov byte [esp + 0x58], 1
mov dword [esp + 0x5c], eax
mov eax, 0
mov dword [esp + 0x60], eax
mov eax, 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x3e4ccccd
mov eax, 0x3f000000
mov dword [esp + 0x6c], eax
mov eax, 0x3f800000
mov dword [esp + 0x70], 0x3e99999a
mov dword [esp + 0x74], eax
mov eax, 0
mov dword [esp + 0x78], eax
mov eax, 0
mov dword [esp + 0x7c], eax
mov eax, 0
mov dword [esp + 0x80], eax
mov eax, 0
mov dword [esp + 0x84], eax
mov eax, 0
mov dword [esp + 0x88], eax
mov eax, 0
mov dword [esp + 0x8c], eax
mov eax, 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
mov eax, 0
mov edi, 0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], dl
mov byte [esp + 0xa5], dl
mov byte [esp + 0xa6], dl
mov byte [esp + 0xa7], dl
mov byte [esp + 0xa8], dl
mov byte [esp + 0xa9], dl
mov byte [esp + 0xaa], dl
mov byte [esp + 0xab], dl
mov byte [esp + 0xac], dl
mov byte [esp + 0xad], dl
mov byte [esp + 0xae], dl
mov byte [esp + 0xaf], dl
mov byte [esp + 0xb0], dl
mov byte [esp + 0xb1], dl
mov byte [esp + 0xb2], dl
mov byte [esp + 0xb3], dl
mov byte [esp + 0xb4], dl
mov byte [esp + 0xb5], dl
mov byte [esp + 0xb6], dl
mov byte [esp + 0xb7], dl
mov byte [esp + 0xb8], dl
mov byte [esp + 0xba], dl
mov byte [esp + 0xbb], dl
mov byte [esp + 0xbc], dl
mov byte [esp + 0xb9], dl
mov byte [esp + 0xbd], dl
mov byte [esp + 0xbe], dl
mov byte [esp + 0xbf], dl
mov byte [esp + 0xc0], dl
mov byte [esp + 0xc1], dl
mov byte [esp + 0xc2], dl
mov byte [esp + 0xc3], dl
mov byte [esp + 0xc4], dl
mov byte [esp + 0xc5], dl
mov byte [esp + 0xc6], dl
mov byte [esp + 0xc7], dl
mov byte [esp + 0xc8], dl
jle 0x6d725e
mov ebp, dword [esp + 0x15c]
lea esi, [esi]
lea edi, [edi]
movzx edx, word [ebp + edi*4]
lea eax, [edx - 5]
inc edi
cmp eax, 0x33
ja 0x6d724f
mov eax, dword [edx*4 + 0x88b66c]
jmp eax
mov eax, dword [esp + 0x190]
cmp edi, eax
jl 0x6d6ae4
mov al, byte [ebx + 0x1f1]
test al, al
je 0x6d7286
mov eax, dword [esp + 0x158]
cmp eax, 0xffffffff
jne 0x6d7286
lea esi, [esp + 0x10]
mov edi, dword [esp + 0x160]
mov ecx, 0x2f
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
cmp edx, ecx
jle 0x6d7296
mov eax, edx
mov edx, ecx
mov ecx, eax
mov esi, dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
cmp esi, eax
jle 0x6d72a6
mov ebp, esi
mov esi, eax
mov eax, ebp
xor ebp, ebp
test esi, esi
jle 0x6d72ae
mov ebp, esi
cmp eax, 0x7f
mov esi, 0
mov dword [ebx + 0x64], ebp
mov ebp, 0x7f
mov edi, eax
jl 0x6d72c4
mov edi, ebp
test edx, edx
mov eax, 0x7f
mov dword [ebx + 0x60], edi
mov ebp, edx
jg 0x6d72d4
mov ebp, esi
mov dword [ebx + 0x58], ebp
cmp ecx, 0x7f
mov edx, ecx
jl 0x6d72e0
mov edx, eax
mov ecx, dword [esp + 0x15c]
mov dword [ebx + 0x5c], edx
push ecx
call fcn.007703b0
pop ecx
mov eax, dword [esp + 0x158]
cmp eax, 0xffffffff
je 0x6d73b2
mov ecx, dword [esp + 0x188]
mov eax, dword [ecx]
mov ebp, dword [esp + 0x158]
imul edx, ebp, 0x16
add edx, dword [ebx + 0x27c]
push 0
push edx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x188]
mov eax, dword [ecx]
lea edx, [esp + 0xcc]
push 0
push 0x2c
push edx
call dword [eax + 0x1c]
cmp eax, 0x2c
je 0x6d734c
xor eax, eax
add esp, 0x174
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
movzx esi, word [esp + 0xf6]
movzx eax, word [esp + 0xe0]
sub esi, eax
lea edi, [esi*4 + 4]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
mov edx, dword [esp + 0x188]
mov edx, dword [edx]
movzx ecx, word [esp + 0xe0]
mov eax, dword [ebx + 0x25c]
lea ecx, [eax + ecx*4]
push 0
push ecx
mov ecx, dword [esp + 0x190]
call dword [edx + 0xc]
mov ecx, dword [esp + 0x188]
mov edx, dword [ecx]
push 0
push edi
push ebp
call dword [edx + 0x1c]
cmp eax, edi
je 0x6d73c1
push ebp
call fcn.007703b0
pop ecx
xor eax, eax
add esp, 0x174
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
lea edx, [esp + 0xf8]
xor ecx, ecx
and ecx, 0xff
mov edi, ecx
shl edi, 8
or ecx, edi
mov edi, ecx
shl edi, 0x10
or ecx, edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], ecx
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], ecx
mov dword [edx + 0x34], ecx
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], ecx
lea edx, [esp + 0xf8]
lea ecx, [esp + 0xcc]
push 0x14
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov dl, 1
lea ecx, [esp + 0x138]
mov byte [ebx + 0x1f0], dl
xor edx, edx
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x7c], edx
mov dword [ebx + 0x80], edx
mov dword [ebx + 0x84], edx
mov byte [ebx + 0x88], dl
mov dword [ebx + 0x8c], edx
mov dword [ebx + 0x90], 0x78
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x98], edx
mov dword [ebx + 0x9c], edx
mov dword [ebx + 0xa0], 0x7f
mov dl, 1
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0x3e4ccccd
mov dword [ebx + 0xb0], 0x3f000000
mov dword [ebx + 0xb4], 0x3e99999a
mov dword [ebx + 0xb8], 0x3f000000
mov dword [ebx + 0xbc], 0x3f800000
mov byte [ebx + 0xc0], dl
mov dword [ebx + 0xc4], 0x3f800000
xor edx, edx
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0x3e4ccccd
mov dword [ebx + 0xd4], 0x3f000000
mov dword [ebx + 0xd8], 0x3e99999a
mov dword [ebx + 0xdc], 0x3f800000
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x108], 0
mov byte [ebx + 0x10c], dl
mov byte [ebx + 0x10d], dl
mov byte [ebx + 0x10e], dl
mov byte [ebx + 0x10f], dl
mov byte [ebx + 0x110], dl
mov byte [ebx + 0x111], dl
mov byte [ebx + 0x112], dl
mov byte [ebx + 0x113], dl
mov byte [ebx + 0x114], dl
mov byte [ebx + 0x115], dl
mov byte [ebx + 0x116], dl
mov byte [ebx + 0x117], dl
mov byte [ebx + 0x118], dl
mov byte [ebx + 0x119], dl
mov byte [ebx + 0x11a], dl
mov byte [ebx + 0x11b], dl
mov byte [ebx + 0x11c], dl
mov byte [ebx + 0x11d], dl
mov byte [ebx + 0x11e], dl
mov byte [ebx + 0x11f], dl
mov byte [ebx + 0x120], dl
mov byte [ebx + 0x122], dl
mov byte [ebx + 0x123], dl
mov byte [ebx + 0x124], dl
mov byte [ebx + 0x121], dl
mov byte [ebx + 0x125], dl
mov byte [ebx + 0x126], dl
mov byte [ebx + 0x127], dl
mov byte [ebx + 0x128], dl
mov byte [ebx + 0x129], dl
mov byte [ebx + 0x12a], dl
mov byte [ebx + 0x12b], dl
mov byte [ebx + 0x12c], dl
mov byte [ebx + 0x12d], dl
mov byte [ebx + 0x12e], dl
mov byte [ebx + 0x12f], dl
mov byte [ebx + 0x130], dl
call fcn.00736414
xor edi, edi
test esi, esi
jle 0x6d76c2
mov dword [esp + 0x170], ebx
mov dword [esp + 0x13c], 0xffffffff
movzx eax, word [ebp + edi*4]
movzx ecx, word [ebp + edi*4 + 4]
sub ecx, eax
lea ebx, [esp + 0xf8]
lea edx, [esp + 0x13c]
push edx
push ebx
push ecx
push eax
mov edx, dword [esp + 0x198]
push edx
mov ecx, dword [esp + 0x184]
call fcn.006d7834
mov edx, dword [esp + 0x13c]
test edx, edx
jge 0x6d7703
inc edi
cmp edi, esi
jl 0x6d7675
push ebp
call fcn.007703b0
pop ecx
lea ecx, [esp + 0x138]
call fcn.00701810
mov eax, 1
add esp, 0x174
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
mov eax, dword [esp + 0x15c]
push eax
call fcn.007703b0
xor eax, eax
add esp, 0x178
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
mov ebx, dword [esp + 0x170]
mov eax, dword [ebx + 0x1f8]
mov ecx, dword [ebx + 0x1f4]
mov ecx, dword [ecx + eax*4 + 0x1f30]
mov edx, dword [ecx + edx*4 + 0x10]
mov ecx, dword [edx + 0x28]
add ecx, 0x344
lea edx, [esp + 0x140]
push edx
call fcn.006ec268
lea ecx, [esp + 0x140]
lea edx, [esp + 0x148]
push 0
push edx
call fcn.006ecde8
lea edx, [esp + 0x138]
push dword [esp + 0x148]
push 0x86c510
push edx
call fcn.007020f0
add esp, 0xc
lea ecx, [esp + 0x148]
call fcn.00701810
mov ecx, dword [esp + 0x140]
test ecx, ecx
je 0x6d7794
mov dword [esp + 0x140], 0
je 0x6d7794
push 1
call fcn.00433260
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x6d77b3
mov dword [esp + 0x144], 0
je 0x6d77b3
push 1
call fcn.00433290
mov ebx, dword [esp + 0x138]
add esp, 0xffffffec
mov edx, dword [esp + 0x184]
mov ecx, dword [edx + 0x1fc]
mov dword [esp], ebx
mov dword [esp + 4], 0xbf800000
mov dword [esp + 0x164], edi
fild dword [esp + 0x164]
mov dword [esp + 0x164], esi
fild dword [esp + 0x164]
fdivp st(1)
fstp dword [esp + 8]
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], 0x88be38
call fcn.0072cbe8
movzx edx, al
test edx, edx
je 0x6d76bd
mov edx, dword [esp + 0x170]
mov byte [edx + 0x1f2], 1
jmp 0x6d76bd