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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov esi, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
mov eax, dword [edx + 0x7c0]
mov ecx, dword [edx + 0x7bc]
mov dword [esp + 0x68], ecx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov ecx, dword [eax + 0x6c4]
mov eax, dword [eax + 0x6d0]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x4c]
imul edi, dword [esi + 0x19efc]
mov dword [esp + 0x34], edi
mov edi, dword [esi + 0x29a28]
mov dword [esp + 0x54], edi
mov eax, dword [edx + 0x89c]
mov edx, edi
add edx, eax
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x29a24]
mov edi, dword [esp + 0x4c]
lea edi, [edx + edi*4]
mov dword [esp + 0x5c], edi
mov edi, dword [esi + 0x29a2c]
test edi, edi
je 0x6a82c5b0
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x6a82ccb9
lea edi, [esp + 0x8c]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + 0x1634]
mov dword [ebp + 0xbd8], edx
xor edx, edx
mov edi, dword [esp + 0x4c]
test edi, edi
setne dl
mov dword [ebp + 0xbb0], edx
imul ecx, dword [esp + 0x4c]
shl ecx, 4
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0x24]
imul edi, dword [esp + 0x4c]
shl edi, 3
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x4c]
shl ecx, 3
mov dword [esp + 0x50], ecx
mov edi, dword [esp + 0xb8]
mov ecx, dword [edi]
mov edx, dword [esi + 0x29a60]
mov edi, dword [esp + 0x50]
mov dword [edx + edi], ecx
mov edx, dword [esp + 0x4c]
shl edx, 7
neg edx
mov dword [ebp + 0xc0c], edx
mov ecx, dword [esp + 0x4c]
not ecx
mov edx, dword [esp + 0x3c]
add ecx, dword [edx + 0x898]
mov edi, ecx
shl edi, 7
mov dword [ebp + 0xc10], edi
mov edi, dword [esp + 0x4c]
not edi
shl edi, 4
mov dword [ebx + 0x7c1c], edi
inc ecx
shl ecx, 4
mov dword [ebx + 0x7c20], ecx
mov edx, dword [esi + 0x2b648]
mov ecx, dword [esp + 0x34]
lea edx, [edx + ecx*4]
mov dword [ebx + 0x1b7c], edx
test eax, eax
jle 0x6a82c8ef
mov dword [esp + 0x30], 0
xor edi, edi
lea ecx, [ebx + 0x640]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x68]
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*4]
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + edx*4]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
shl edx, 3
neg edx
mov dword [ebp + 0xc04], edx
dec eax
sub eax, edi
mov edx, eax
shl edx, 7
mov dword [ebp + 0xc08], edx
mov edx, 0xfffffff0
sub edx, dword [esp + 0x30]
mov dword [ebx + 0x7c14], edx
inc eax
shl eax, 4
mov dword [ebx + 0x7c18], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
add edx, dword [eax + 0x6d4]
add eax, 0x6c0
mov dword [ebp + 0xb74], edx
mov eax, dword [eax + 0x18]
add eax, dword [esp + 0x24]
mov dword [ebp + 0xb78], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
add eax, dword [ecx + 0x6dc]
mov dword [ebp + 0xb7c], eax
xor eax, eax
test edi, edi
setne al
mov dword [ebp + 0xbb4], eax
mov eax, dword [esi + 0x1cb58]
mov dword [ebx + 0x1b74], eax
mov eax, dword [esi + 0x1cb54]
mov dword [ebx + 0x1b78], eax
mov dword [esp + 0xc], 0x10
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov eax, dword [ebx + 0xbfc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc0c]
mov dword [esp], eax
call dword [0x6b33a51c]
mov eax, dword [esi + 0x29a2c]
test eax, eax
je 0x6a82c7b7
lea eax, [edi - 1]
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
dec eax
test edi, eax
jne 0x6a82c7b7
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
sub eax, dword [esp + 0x54]
cmp eax, edi
jge 0x6a82c7b7
mov dword [esp + 0x28], esi
mov esi, ecx
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x54]
nop
pause
mov dword [esp], 0
call sub.KERNEL32.dll_Sleep
push eax
mov eax, dword [esi]
sub eax, ebx
cmp eax, edi
jl 0x6a82c798
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
cmp dword [esi + 0x1c7dc], 1
je 0x6a82ca74
cmp byte [ebp + 0xbe0], 0
je 0x6a82ca48
mov eax, dword [esi + 0x299ec]
mov ecx, dword [esp + 0x34]
mov al, byte [eax + ecx]
cmp al, 3
ja 0x6a82ca58
mov edx, dword [ebp + 0xb98]
mov byte [edx + 0xb], al
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.6a814a3c
mov eax, dword [esp + 0x34]
add eax, dword [esi + 0x29a08]
mov dword [ebx + 0x7c30], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc0]
mov eax, dword [edx + 0x888]
test eax, eax
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
jne 0x6a82c968
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.6a82bd60
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc0]
mov dword [ecx], eax
mov eax, dword [ebp + 0xb98]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xb8]
mov ecx, dword [ecx]
mov edx, dword [esi + 0x29a60]
mov eax, dword [esp + 0x50]
mov dword [edx + eax + 4], ecx
inc dword [ebx + 0x7c2c]
add dword [ebx + 0x1b7c], 4
add dword [ebx + 0xc0c], 0x10
add dword [ebx + 0xc10], 8
add dword [ebx + 0xc14], 8
add dword [esp + 0x38], 0x10
add dword [esp + 0x24], 8
mov ecx, dword [esp + 0x28]
movzx edx, byte [ecx + 0xb]
mov ecx, dword [esp + 0xbc]
inc dword [ecx + edx*4]
mov eax, dword [esp + 0x28]
add eax, 0x4c
mov dword [ebp + 0xb98], eax
add dword [ebx + 0x1b40], 0x84
add dword [ebp + 0xbd8], 9
inc edi
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x89c]
add dword [esp + 0x30], 0x10
inc dword [esp + 0x34]
cmp eax, edi
jg 0x6a82c6a0
mov eax, dword [ebp + 0xb7c]
add eax, 8
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xb78]
add eax, 8
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xb74]
add eax, 0x10
mov dword [esp + 4], eax
mov edi, dword [esp + 0x68]
lea eax, [edi + edi*2]
lea eax, [eax + eax*4]
mov edx, dword [esp + 0x3c]
lea eax, [edx + eax*4 + 0x6bc]
mov dword [esp], eax
call fcn.6a833bf8
mov eax, dword [esi + 0x29a2c]
test eax, eax
je 0x6a82c94a
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
add dword [ebp + 0xb98], 0x4c
add dword [ebx + 0x1b40], 0x84
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.6a82bf7c
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc0]
mov dword [ecx], eax
mov eax, dword [ebp + 0xb98]
mov dword [esp + 0x28], eax
mov edx, dword [eax]
and edx, 0xff00ff
cmp edx, 0x10007
je 0x6a82ca68
mov eax, dword [esi + 0x2b6e8]
test eax, eax
jne 0x6a82c860
mov eax, dword [esi + 0x29a10]
test eax, eax
je 0x6a82c860
cmp byte [ebp + 0xbe0], 0
je 0x6a82c860
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx + 0xb]
mov eax, dword [esi + 0x299ec]
mov ecx, dword [esp + 0x34]
mov byte [eax + ecx], dl
mov eax, dword [ebp + 0xb98]
mov dword [esp + 0x28], eax
cmp byte [eax + 0xb], 0
jne 0x6a82cca0
mov edx, dword [eax]
and edx, 0xff00ff
cmp edx, 0x10007
je 0x6a82ccca
mov eax, dword [esi + 0x29a20]
mov ecx, dword [esp + 0x34]
mov byte [eax + ecx], 1
mov eax, dword [ebp + 0xb98]
mov dword [esp + 0x28], eax
jmp 0x6a82c860
mov eax, dword [ebp + 0xb98]
mov byte [eax + 0xb], 0
jmp 0x6a82c803
mov eax, dword [ebp + 0xb98]
mov byte [eax + 0xb], 0
jmp 0x6a82c7ef
inc dword [esi + 0x299dc]
jmp 0x6a82c9c6
mov ecx, dword [ebx + 0x1b7c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x2b644]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
xor edx, edx
shl ecx, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0
add dword [esp + 0x40], eax
adc dword [esp + 0x44], edx
add eax, eax
adc edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
add dword [esp + 0x28], eax
adc dword [esp + 0x2c], edx
mov eax, dword [ebx + 0x1b78]
cdq
mov dword [esp + 0x7c], edx
mov ecx, dword [ebx + 0x1b78]
imul ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
imul edx, dword [esp + 0x28]
add ecx, edx
mov eax, dword [ebx + 0x1b78]
mul dword [esp + 0x28]
mov dword [esp + 0x28], eax
add edx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
shrd edx, ecx, 1
sar ecx, 1
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x78], eax
adc dword [esp + 0x7c], edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6aa7e29c
mov dword [ebx + 0x1b78], eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
mov ecx, dword [ebx + 0x1b74]
lea edx, [ecx + ecx*4]
lea edx, [ecx + edx*2]
lea ecx, [edx + edx*4]
shl ecx, 1
cdq
idiv ecx
xor edx, edx
test eax, eax
sete dl
add eax, edx
mov dword [ebx + 0x1b68], eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x60]
shl eax, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add dword [esp + 0x28], eax
adc dword [esp + 0x2c], edx
shld edx, eax, 2
add eax, eax
add eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
add dword [esp + 0x78], eax
adc dword [esp + 0x7c], edx
cmp dword [esp + 0x44], 0
jl 0x6a82cc42
jle 0x6a82cc3c
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
shrd edx, ecx, 1
sar ecx, 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add dword [esp + 0x40], eax
adc dword [esp + 0x44], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6aa7e29c
dec eax
mov dword [ebx + 0x1b84], eax
jmp 0x6a82c7c4
cmp ecx, dword [esp + 0x60]
ja 0x6a82cbe5
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
shrd edx, ecx, 1
sar ecx, 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x40], eax
adc dword [esp + 0x44], edx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6aa7e29c
mov edx, 1
sub edx, eax
mov dword [ebx + 0x1b84], edx
jmp 0x6a82c7c4
mov eax, dword [esi + 0x29a20]
mov byte [eax + ecx], 0xff
mov edx, dword [ebp + 0xb98]
mov dword [esp + 0x28], edx
jmp 0x6a82c860
mov edi, dword [esp + 0x4c]
lea edx, [edx + edi*4 - 4]
mov dword [esp + 0x64], edx
jmp 0x6a82c5bb
mov edx, dword [esp + 0x34]
add edx, dword [esi + 0x29a20]
cmp byte [edx], 1
jne 0x6a82c860
mov byte [edx], 0
mov eax, dword [ebp + 0xb98]
mov dword [esp + 0x28], eax
jmp 0x6a82c860