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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa0
and dword [ebp + 0x54], 0
and dword [ebp + 0x58], 0
push ebx
push esi
mov esi, dword [ebp + 0x78]
test esi, esi
push edi
jle 0x6d81da07
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x58]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x6d81d9f8
mov edi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x78]
mov esi, dword [edi + 0xbc]
cmp eax, esi
mov dword [ebp + 0x5c], edi
jne 0x6d81d7e2
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [edi + 0xc0]
jne 0x6d81d7e2
mov ecx, dword [ebx + 0x80]
cmp ecx, dword [edi + 0xc4]
je 0x6d81d9f8
xor ecx, ecx
cmp eax, esi
mov eax, dword [ebx + 0x7c]
setne cl
push edi
mov esi, ecx
xor ecx, ecx
cmp eax, dword [edi + 0xc0]
mov eax, dword [ebx + 0x80]
setne cl
mov dword [ebp + 0x60], ecx
xor ecx, ecx
cmp eax, dword [edi + 0xc4]
setne cl
mov dword [ebp + 0x64], ecx
call fcn.6d82f29a
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push esi
push dword [ebx + 0x68]
push dword [ebx + 0x24]
call fcn.6d831887
mov eax, dword [ebx + 0x78]
xor ecx, ecx
add esp, 0x18
cmp eax, dword [edi + 0xbc]
mov eax, dword [ebx + 0x7c]
setne cl
mov dword [ebp + 0x4c], ecx
xor ecx, ecx
cmp eax, dword [edi + 0xc0]
mov eax, dword [ebx + 0x80]
setne cl
mov dword [ebp + 0x60], ecx
xor ecx, ecx
cmp eax, dword [edi + 0xc4]
setne cl
xor eax, eax
cmp dword [ebp + 0x4c], eax
mov dword [ebp + 0x64], ecx
jne 0x6d81d875
cmp dword [ebp + 0x60], eax
jne 0x6d81d875
cmp ecx, eax
je 0x6d81d9da
mov eax, dword [ebx + 0x64]
mov esi, dword [ebx + 0x28]
mov dword [ebp + 0x44], eax
jmp 0x6d81d8b7
mov eax, dword [esi + 4]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x44]
cmp dword [esi + 0x38], eax
jne 0x6d81d8af
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x24]
test byte [eax + 0x164], 8
jne 0x6d81d8a5
cmp dword [eax + 0x16c], ecx
je 0x6d81d8b4
cmp dword [esi + 0x34], ecx
je 0x6d81d8b4
cmp dword [esi + 0x30], ecx
jne 0x6d81d8b4
call fcn.6d81a7d5
mov esi, dword [ebp + 0x50]
xor ecx, ecx
cmp esi, ecx
jne 0x6d81d880
cmp dword [ebp + 0x4c], ecx
je 0x6d81d8cc
mov dword [ebx + 0x98], 1
cmp dword [ebp + 0x60], ecx
jne 0x6d81d8da
cmp dword [ebp + 0x64], ecx
je 0x6d81d9da
cmp dword [ebp + 0x64], 0
je 0x6d81d907
push 0x1b
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x68]
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], 0x6c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x5c]
mov dword [ebp + 0x48], eax
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x6d81d992
mov eax, dword [esi + 4]
push 0x1b
mov dword [ebp + 0x50], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x38], 0x6c
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x58]
xor edi, edi
cmp dword [ebp + 0x60], edi
je 0x6d81d95d
mov eax, dword [ebp + 0x14]
test al, 0x28
je 0x6d81d95d
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
and al, 0x20
neg al
sbb eax, eax
and eax, 0xf0
add eax, 0x10
push eax
push edi
push ecx
call dword [edx + 0x14]
cmp dword [ebp + 0x64], edi
je 0x6d81d988
mov eax, dword [ebp + 0x5c]
test byte [eax + 0x100], 2
je 0x6d81d97d
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x34]
push eax
jmp 0x6d81d97e
push edi
push dword [esi + 0x3c]
call fcn.6d82de1d
pop ecx
pop ecx
mov esi, dword [ebp + 0x50]
cmp esi, edi
jne 0x6d81d912
mov edi, dword [ebp + 0x5c]
lea esi, [ebx + 0x9c]
cmp dword [esi], 0
je 0x6d81d9da
cmp dword [ebp + 0x60], 0
je 0x6d81d9ad
mov edi, ebx
call fcn.6d81a8ae
mov edi, dword [ebp + 0x5c]
cmp dword [ebp + 0x64], 0
je 0x6d81d9da
test byte [edi + 0x100], 2
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
je 0x6d81d9d0
mov ecx, dword [ebp + 0x48]
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x40], ecx
lea ecx, [ebp + 0x3c]
push ecx
jmp 0x6d81d9d2
push 0
push eax
call fcn.6d82de1d
pop ecx
pop ecx
mov eax, dword [edi + 0xbc]
mov dword [ebx + 0x78], eax
mov eax, dword [edi + 0xc0]
mov dword [ebx + 0x7c], eax
mov eax, dword [edi + 0xc4]
mov dword [ebx + 0x80], eax
inc dword [ebp + 0x58]
mov esi, dword [ebp + 0x78]
cmp dword [ebp + 0x58], esi
jl 0x6d81d7a1
mov ebx, dword [ebp + 0x70]
xor edi, edi
test esi, esi
jle 0x6d81da4a
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x6d81da42
cmp dword [eax + 0x18], 0
jne 0x6d81da42
lea ecx, [ebx + 0x528]
mov esi, dword [ecx]
test esi, esi
lea edx, [eax + 0xc]
mov dword [edx], esi
je 0x6d81da36
mov esi, dword [ecx]
mov dword [esi + 8], edx
mov dword [ecx], eax
mov dword [eax + 8], ecx
mov dword [eax + 0x18], 1
mov esi, dword [ebp + 0x78]
inc edi
cmp edi, esi
jl 0x6d81da10
xor ecx, ecx
test esi, esi
jle 0x6d81da65
mov edx, dword [ebp + 0x7c]
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x6d81da60
cmp dword [eax + 0x1c], 0
je 0x6d81da87
inc ecx
cmp ecx, esi
jl 0x6d81da50
lea eax, [ebp + 0x54]
push eax
mov eax, dword [ebx + 0x530]
push 0xc
push esi
push dword [ebp + 0x7c]
push ebx
call fcn.6d81d6f0
add esp, 0x14
test eax, eax
jne 0x6d81da9a
mov eax, dword [ebp + 0x54]
jmp 0x6d81da9d
mov eax, dword [ebp + 0x74]
test eax, eax
jge 0x6d81da90
xor eax, eax
lea ecx, [ebp + 0x54]
push ecx
push 0xc
push esi
push edx
jmp 0x6d81da75
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret