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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx + 0x80c]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [edx + 0xf0]
mov esi, dword [edx + 0xec]
mov edx, dword [ebx + 4]
cmp eax, 1
mov dword [esp + 0x54], edi
seta byte [esp + 0x40]
cmp esi, edi
mov edi, dword [esp + 0xa8]
setne byte [esp + 0x44]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x50], esi
setne cl
shl ecx, 3
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x3f4]
mov edx, 4
shl edx, cl
cmp eax, 1
mov eax, 0
cmova eax, dword [esp + 0xa8]
imul edx, eax
mov eax, dword [ebx + 0xdf8]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x594]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x6c], eax
test al, 1
jne 0x684be600
mov eax, dword [ebx + 0xdfc]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x598]
mov edx, eax
sar edx, 1
imul edx, dword [esp + 0x3c]
lea esi, [edx + edx]
mov dword [esp + 0x4c], esi
test al, 1
jne 0x684be590
mov eax, dword [ebx + 0xe00]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0xe30]
mov edi, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 4]
and edi, 1
mov esi, dword [eax + 0x42c]
test esi, esi
jne 0x684be4f2
test edi, edi
je 0x684be570
mov esi, dword [ebx + 0x860]
mov edi, dword [ebx + 0x500]
shl esi, 2
lea ebp, [edi - 1]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0x3f4]
mov eax, dword [esp + 0xa8]
lea ecx, [esi + 6]
lea edx, [eax + 1]
shl edx, cl
cmp edx, ebp
cmovle ebp, edx
shl eax, cl
sub eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0xa4]
mov edi, dword [ebx + 0x4f4]
mov ebp, dword [eax]
test edi, 1
jne 0x684be710
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ecx, dword [ebx + 0x594]
mov dword [esp + 4], edi
sar edi, 1
sar eax, 1
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x24], 1
imul edi, dword [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], esi
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x58]
mov dword [esp + 8], 0
add edi, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
sub ebp, edi
mov dword [esp], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, ebx
call fcn.684bd850
cmp byte [esp + 0x40], 0
je 0x684be205
cmp byte [esp + 0x44], 0
je 0x684be205
mov esi, dword [ebx + 0x4f4]
mov edx, dword [esp + 0xa8]
mov eax, esi
sar eax, 1
imul edx, eax
shl edx, 2
test esi, 1
jne 0x684be731
mov ecx, dword [ebx + 4]
mov ebp, dword [ecx + 0x3f4]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx]
mov dword [esp + 0x3c], ecx
mov ecx, esi
mov edi, dword [ebx + 0xdec]
imul eax, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x24], 0
lea edx, [edi + edx*2]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], 0
add eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 4], esi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x3c]
sub edi, eax
mov eax, ebx
mov dword [esp], edi
call fcn.684bd850
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x42c]
test ecx, ecx
je 0x684be570
mov edx, dword [ebx + 0x504]
test edx, edx
je 0x684be4e7
mov edx, dword [ebx + 0x5a4]
cmp edx, 1
sete cl
mov esi, ecx
movzx edi, cl
xor ecx, ecx
cmp edx, 3
mov edx, dword [ebx + 0x500]
setne cl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], ecx
mov ecx, esi
add edx, edi
mov edi, dword [ebx + 0x860]
sar edx, cl
mov ecx, 2
sub ecx, dword [esp + 0x58]
shl edi, cl
mov ecx, dword [esp + 0xa8]
mov ebp, edx
mov dword [esp + 0x5c], edx
mov edx, 6
sub edx, dword [esp + 0x3c]
add edx, dword [eax + 0x3f4]
mov dword [esp + 0x60], edi
lea edi, [ecx + 1]
mov ecx, edx
shl edi, cl
mov ecx, edi
mov edi, ebp
sub edi, 1
cmp ecx, edi
cmovle edi, ecx
mov ecx, esi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x38]
sar edi, cl
mov ecx, edx
mov esi, edi
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0xa8]
shl edi, cl
mov edx, edi
sub edx, esi
mov esi, dword [ebx + 0x4f8]
mov dword [esp + 0x64], edx
test esi, 1
jne 0x684be7b0
sar esi, 1
imul esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x48]
mov edx, eax
mov ebp, dword [eax + 0x42c]
mov ecx, edi
and edi, 4
shl esi, 2
and ecx, 2
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], esi
test ebp, ebp
jne 0x684be621
test ecx, ecx
je 0x684be6f0
mov ecx, dword [esp + 0xa4]
mov esi, dword [ebx + 0x4f8]
mov eax, dword [eax + 0x3f4]
mov edi, dword [ecx + 4]
test esi, 1
jne 0x684be7d4
mov ebp, dword [esp + 0x58]
mov ecx, dword [ebx + 0x598]
mov dword [esp + 4], esi
sar esi, 1
imul esi, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
add edx, dword [esp + 0x4c]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x24], 1
add esi, esi
mov dword [esp + 8], eax
mov eax, ebx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x60]
sub edi, esi
mov dword [esp], edi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebp
call fcn.684bd850
movzx eax, byte [esp + 0x40]
and al, byte [esp + 0x44]
mov edx, dword [ebx + 4]
mov esi, eax
je 0x684be42c
mov ecx, dword [esp + 0xa4]
mov esi, dword [ebx + 0x4f8]
mov eax, dword [edx + 0x3f4]
mov edi, dword [ecx + 4]
mov ecx, esi
test esi, 1
jne 0x684be860
mov edx, dword [ebx + 0xdf0]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], esi
sar esi, 1
imul esi, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea edx, [edx + ebp*2]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x5c]
add esi, esi
sub edi, esi
mov dword [esp + 8], eax
mov eax, ebx
mov esi, 1
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebp
call fcn.684bd850
mov edx, dword [ebx + 4]
mov edi, dword [edx + 0x42c]
test edi, edi
je 0x684be6f0
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x684be660
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x50], ecx
je 0x684be660
mov eax, esi
test al, al
je 0x684be4e7
mov ecx, dword [esp + 0xa4]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x4f8]
mov edi, dword [ecx + 8]
mov eax, dword [eax + 0x3f4]
mov ecx, esi
test esi, 1
jne 0x684be831
mov edx, dword [ebx + 0xdf4]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], esi
sar esi, 1
imul esi, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea edx, [edx + ebp*2]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x5c]
add esi, esi
sub edi, esi
mov dword [esp + 8], eax
mov eax, ebx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebp
call fcn.684bd850
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebx + 0x860]
mov edx, dword [esp + 0xa8]
mov ebp, dword [ebx + 0x500]
shl esi, 2
add edx, 1
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0x3f4]
mov dword [esp + 0x58], ebp
sub ebp, 1
lea ecx, [esi + 6]
shl edx, cl
cmp edx, ebp
cmovle ebp, edx
mov edx, dword [esp + 0xa8]
shl edx, cl
sub edx, dword [esp + 0x38]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x50], edx
je 0x684be0cc
mov ecx, edi
test cl, cl
jne 0x684be0cc
cmp byte [esp + 0x40], 0
je 0x684be216
cmp byte [esp + 0x44], 0
jne 0x684be16a
jmp 0x684be216
test byte [esp + 0x48], 6
jne 0x684be216
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
call fcn.684d2880
mov eax, dword [ebx + 0xe00]
mov esi, dword [ebx + 0x598]
mov dword [esp + 0x78], eax
test esi, 1
je 0x684be88f
mov dword [esp + 8], 0x50
sar esi, 1
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
call fcn.684d2880
imul esi, dword [esp + 0x3c]
lea eax, [esi + esi]
mov dword [esp + 0x70], eax
jmp 0x684be062
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
call fcn.684d2880
jmp 0x684be028
test ecx, ecx
jne 0x684be305
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x50], ecx
je 0x684be305
movzx eax, byte [esp + 0x40]
and al, byte [esp + 0x44]
mov esi, eax
jne 0x684be39e
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x50], ecx
je 0x684be660
mov eax, dword [esp + 0x48]
test eax, eax
je 0x684be4e7
nop
mov eax, dword [esp + 0xa4]
mov edi, dword [ebx + 0x4f8]
mov ecx, dword [edx + 0x3f4]
mov eax, dword [eax + 8]
test edi, 1
jne 0x684be800
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edi
sar edi, 1
imul edi, dword [esp + 0x38]
add edx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x60]
add edi, edi
sub eax, edi
mov dword [esp + 8], ecx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp], eax
mov eax, ebx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebp
mov ecx, dword [ebx + 0x598]
call fcn.684bd850
jmp 0x684be454
mov esi, dword [esp + 0x48]
test esi, esi
je 0x684be4e7
movzx esi, byte [esp + 0x40]
movzx eax, byte [esp + 0x44]
and esi, eax
jmp 0x684be660
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
call fcn.684d2880
jmp 0x684be0e7
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
mov dword [esp + 0x68], edx
call fcn.684d2880
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x4f4]
mov edx, dword [esp + 0x68]
mov ebp, dword [eax + 0x3f4]
mov eax, dword [esp + 0xa4]
test esi, 1
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
je 0x684be8a4
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
mov dword [esp + 0x68], edx
call fcn.684d2880
mov eax, esi
mov ecx, dword [ebx + 0x4f4]
mov edx, dword [esp + 0x68]
sar eax, 1
jmp 0x684be1a5
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
call fcn.684d2880
mov eax, dword [ebx + 4]
jmp 0x684be2cc
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
mov dword [esp + 0x7c], eax
call fcn.684d2880
mov eax, dword [esp + 0x7c]
jmp 0x684be327
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
call fcn.684d2880
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x684be682
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
mov dword [esp + 0x40], eax
call fcn.684d2880
mov ecx, dword [ebx + 0x4f8]
mov eax, dword [esp + 0x40]
jmp 0x684be485
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0x684fbd30
mov dword [esp], 0x684fbd6a
mov dword [esp + 0x4c], eax
call fcn.684d2880
mov ecx, dword [ebx + 0x4f8]
mov eax, dword [esp + 0x4c]
jmp 0x684be3c2
mov edx, dword [esp + 0x3c]
sar esi, 1
imul edx, esi
lea eax, [edx + edx]
mov dword [esp + 0x70], eax
jmp 0x684be062
mov eax, esi
mov ecx, esi
sar eax, 1
jmp 0x684be1a5