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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x22c
mov eax, dword [esp + 0x244]
mov ebx, dword [esp + 0x248]
mov esi, dword [esp + 0x250]
mov dword [esp + 0x154], 0
mov eax, dword [eax + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x258]
lea ecx, [eax + 0x28]
mov eax, dword [ebx + 8]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x244]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x14c], eax
mov eax, dword [ebx + 0x6c]
shr eax, 2
and eax, 1
test esi, esi
mov dword [esp + 0x150], eax
je 0x6fcd8104
cmp esi, 0x1d
jg 0x6fcd80eb
cmp esi, 9
mov dword [esp + 0x40], 0x7d0
jg 0x6fcd80d7
mov eax, 0xa
sub eax, esi
imul eax, eax
mov edx, eax
shl edx, 4
sub edx, eax
lea eax, [edx + 0x7d0]
mov dword [esp + 0x40], eax
mov eax, 0x1e
sub eax, esi
lea eax, [eax*4 + 0x5a]
mov dword [esp + 0x5c], eax
jmp 0x6fcd8114
mov eax, dword [esp + 0x24c]
sub eax, esi
lea eax, [eax + eax*2]
cmp dword [esp + 0x24c], eax
jg 0x6fcd8b25
mov dword [esp + 0x5c], 0x5a
mov dword [esp + 0x40], 0x7d0
imul eax, dword [esp + 0x254], 0xffffffee
add eax, ecx
cmp eax, 4
mov edi, eax
mov eax, 5
cmovg eax, edi
mov dword [esp + 0x58], eax
mov eax, dword [0x70fcbe50]
test eax, eax
je 0x6fcd813a
call eax
mov ecx, dword [ebx + 0x14]
lea eax, [ecx - 1]
cmp eax, 1
jbe 0x6fcd88eb
mov eax, dword [esp + 0x254]
mov edi, ebx
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x24], 1
mov dword [esp + 0x38], 0
add eax, 1
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], eax
lea edx, [ebp - 1]
cmp edx, 1
jbe 0x6fcd8538
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], 1
mov ecx, esi
shl ecx, 4
mov dword [esp + 0x48], ecx
mov ecx, esi
add ecx, 1
mov dword [esp + 0x44], ecx
shl dword [esp + 0x44], 4
neg dword [esp + 0x44]
mov eax, dword [esp + 0x254]
add dword [esp + 0x4c], 0xa
test eax, eax
jne 0x6fcd85a7
mov eax, dword [esp + 0x24]
imul eax, ebp
add eax, dword [esp + 0x20]
imul eax, eax, 0x1e8
add eax, dword [esp + 0x28]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x244]
mov esi, 1
mov ebp, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov dword [esp + 0x88], 0x100000
mov eax, dword [eax + 0x38]
mov ebx, ebp
shl ebx, 4
mov dword [esp + 0x8c], 0x100000
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
imul eax, dword [edi + 0x10]
mov dword [esp + 0x90], 0x100000
mov dword [esp + 0x94], 0x100000
mov dword [esp + 0x98], 0x100000
add eax, ebp
imul eax, eax, 0x1e8
add eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14c]
sub eax, dword [esp + 0x150]
lea ecx, [eax + 3]
mov eax, dword [edi]
shl esi, cl
lea ecx, [esi - 1]
neg esi
sub eax, ebx
mov ebx, ebp
cmp eax, ecx
cmovg eax, ecx
sub edx, dword [esp + 0x48]
mov dword [esp + 0x78], eax
cmp edx, ecx
cmovle ecx, edx
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x44]
shl edx, 4
neg edx
cmp edx, esi
cmovl edx, esi
cmp ebp, esi
cmovge esi, ebp
mov ebp, dword [esp + 0x24]
imul ebp, dword [edi + 8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], esi
add ebp, ebx
mov ebx, dword [esp + 0x34]
shl ebp, 4
add ebx, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x130], ebx
mov ebx, dword [esp + 0x240]
add ebp, dword [ebx]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x118], ebp
mov ebp, dword [ebx]
mov dword [esp + 0x60], ebp
mov ebx, dword [ebx + 4]
cmp ebp, eax
mov dword [esp + 0x64], ebx
jg 0x6fcd8310
cmp ebp, edx
jl 0x6fcd8310
cmp ebx, ecx
jg 0x6fcd8310
cmp ebx, esi
jge 0x6fcd87e0
lea esi, [esi]
cmp dword [esp + 0x20], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
sete al
cmp dword [esp + 0x24], 1
sete dl
test al, al
jne 0x6fcd85f0
test dl, dl
je 0x6fcd8790
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0x1e8]
mov edx, dword [ecx - 0x1e4]
mov ebx, eax
mov dword [esp + 0x110], eax
mov esi, edx
mov dword [esp + 0x114], edx
test ebp, ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
je 0x6fcd864a
mov eax, dword [esp + 0x78]
test eax, eax
js 0x6fcd83a0
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jg 0x6fcd83a0
mov edx, dword [esp + 0x80]
test edx, edx
js 0x6fcd83a0
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x6fcd890c
lea esi, [esi]
cmp ebp, ebx
je 0x6fcd8760
test ebx, ebx
je 0x6fcd8772
cmp dword [esp + 0x78], ebx
jl 0x6fcd83d2
cmp dword [esp + 0x7c], ebx
jg 0x6fcd83d2
cmp dword [esp + 0x80], esi
jl 0x6fcd83d2
cmp dword [esp + 0x84], esi
jle 0x6fcd8a2a
cmp dword [esp + 0x88], 0x1f4
mov dword [esp + 0x34], 0x100
jg 0x6fcd8660
mov ecx, dword [edi + 0x10]
xor ebx, ebx
xor ebp, ebp
mov eax, ebx
mov esi, ebx
mov edx, dword [esp + ebx*8 + 0xa0]
sar eax, 1
and esi, 1
add eax, dword [esp + 0x24]
add esi, dword [esp + 0x20]
imul eax, ecx
add esi, eax
mov eax, dword [esp + ebx*8 + 0x9c]
add ebx, 1
imul esi, esi, 0x1e8
add esi, dword [esp + 0x28]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov eax, dword [esp + ebx*4 + 0x88]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], edx
mov dword [esp + 0x2c], eax
sub eax, dword [esp + 0x34]
mov dword [esi + 4], edx
mov dword [esi + 0xec], 0
cmovs eax, ebp
cmp ebx, 4
mov dword [esi + 0x154], eax
jne 0x6fcd83f2
xor bl, bl
mov esi, ebx
mov edx, esi
mov eax, esi
sar edx, 1
and eax, 1
add edx, dword [esp + 0x24]
add eax, dword [esp + 0x20]
imul ecx, edx
mov ebx, ecx
mov ecx, dword [edi + 8]
add ebx, eax
imul ebx, ebx, 0x1e8
add ebx, dword [esp + 0x28]
imul edx, ecx
mov dword [esp + 4], ecx
add edx, eax
mov eax, dword [esp + 0x244]
shl edx, 4
add edx, dword [eax + 0x38]
mov dword [esp], edx
call dword [0x70fcbe64]
mov edx, 0x12c
mov ecx, dword [esp + 0x40]
cmp eax, 0x12c
cmovge edx, eax
add ecx, eax
add dword [esp + 0x38], edx
mov edx, dword [ebx + 0x154]
cmp ecx, edx
jl 0x6fcd8566
mov ecx, dword [edi + 0x10]
mov ebp, ecx
cmp dword [ebx], 0
jne 0x6fcd8501
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x6fcd8501
cmp eax, 0x3e8
mov ebx, edx
jle 0x6fcd8513
mov ebx, dword [esp + 0x30]
add ebx, 0x200
cmp edx, 0x3e7
cmovg ebx, dword [esp + 0x30]
mov dword [esp + 0x30], ebx
cmp eax, 0xbb7
mov ebx, edx
jle 0x6fcd8513
mov eax, edx
shr eax, 0x1f
add ebx, eax
sar ebx, 1
add esi, 1
add dword [esp + 0x30], ebx
cmp esi, 4
jne 0x6fcd8465
add dword [esp + 0x20], 2
lea eax, [ebp - 1]
cmp eax, dword [esp + 0x20]
ja 0x6fcd81b7
mov ecx, dword [edi + 0x14]
add dword [esp + 0x24], 2
lea eax, [ecx - 1]
cmp eax, dword [esp + 0x24]
ja 0x6fcd8184
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
sar eax, 7
lea ecx, [eax + edi*4]
mov eax, dword [esp + 0x30]
cdq
idiv ecx
mov ecx, eax
jmp 0x6fcd88ed
mov ebp, dword [edi + 0x10]
add dword [esp + 0x3c], 1
mov dword [ebx + 0xec], 3
lea ecx, [ebp - 2]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x14]
sub ecx, 2
imul ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
shr dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x3c], ecx
ja 0x6fcd88f7
mov ecx, ebp
jmp 0x6fcd84d3
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x54]
imul ebx, ebp
add ebx, dword [esp + 0x20]
imul ebx, ebx, 0x1e8
lea ecx, [eax + ebx]
add ebx, dword [esp + 0x25c]
mov eax, dword [ebx]
imul eax, esi
cdq
idiv dword [esp + 0x254]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
imul eax, esi
cdq
idiv dword [esp + 0x254]
mov dword [ecx + 4], eax
jmp 0x6fcd81ed
test dl, dl
jne 0x6fcd8620
imul eax, dword [edi + 0x10], 0x1e8
mov edx, dword [esp + 0x2c]
sub edx, eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov ebx, eax
mov dword [esp + 0x110], eax
mov esi, edx
mov dword [esp + 0x114], edx
jmp 0x6fcd8362
xor esi, esi
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
jne 0x6fcd8372
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x6fcd8372
jmp 0x6fcd83a0
mov eax, dword [esp + 0xfc]
mov edx, ebp
mov ecx, 0xff
lea esi, [esp + eax*8 + 0x60]
mov ebx, dword [esi]
lea eax, [esp + 0x60]
mov esi, dword [esi + 4]
jmp 0x6fcd8696
cmp esi, dword [eax + 4]
je 0x6fcd8740
add eax, 8
lea edx, [esp + 0x78]
cmp eax, edx
je 0x6fcd86c0
mov edx, dword [eax]
cmp ebx, edx
jne 0x6fcd8680
mov edx, dword [eax + 4]
lea ebp, [edx + 2]
cmp esi, ebp
je 0x6fcd8785
sub edx, 2
mov ebp, ecx
and ebp, 0xfffffff7
cmp esi, edx
cmove ecx, ebp
add eax, 8
lea edx, [esp + 0x78]
cmp eax, edx
jne 0x6fcd8694
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], 0x6fcd7f60
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.6fcc2ef0
cmp dword [esp + 0x88], 0x1f4
jle 0x6fcd88de
lea eax, [esp + 0x78]
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x6fcd7f60
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.6fcc3090
mov dword [esp + 0x34], 0
jmp 0x6fcd83eb
lea ebp, [edx + 2]
cmp ebp, ebx
je 0x6fcd8904
mov ebp, ecx
sub edx, 2
and ebp, 0xfffffffd
cmp edx, ebx
cmove ecx, ebp
jmp 0x6fcd8689
cmp dword [esp + 0x64], esi
je 0x6fcd83d2
test ebx, ebx
jne 0x6fcd83b0
test esi, esi
jne 0x6fcd83b0
lea esi, [esi]
jmp 0x6fcd83d2
and ecx, 0xfffffffb
jmp 0x6fcd8689
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.6fcc4820
mov dword [esp + 0x110], eax
mov ebx, eax
mov esi, edx
mov dword [esp + 0x114], edx
jmp 0x6fcd8362
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0xec]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
imul eax, ebx
add eax, ebp
add eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.6fc791d0
cmp eax, dword [esp + 0x88]
jge 0x6fcd8838
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0xec]
cmp eax, dword [esp + 0x8c]
jge 0x6fcd885d
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0xf0]
cmp eax, dword [esp + 0x90]
jge 0x6fcd8882
mov dword [esp + 0x90], eax
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebx
mov eax, dword [esp + 0xf4]
cmp eax, dword [esp + 0x94]
jge 0x6fcd88a7
mov dword [esp + 0x94], eax
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebx
mov eax, dword [esp + 0xf8]
cmp eax, dword [esp + 0x98]
jge 0x6fcd88cc
mov dword [esp + 0x98], eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebx
mov eax, dword [esp + 0x88]
cmp eax, 0xc8
jg 0x6fcd8310
mov dword [esp + 0x34], pe_nt_image_headers32
jmp 0x6fcd83eb
xor ecx, ecx
cmp dword [esp + 0x5c], ecx
jge 0x6fcd8b5d
xor eax, eax
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
ret
and ecx, 0xfffffffe
jmp 0x6fcd8689
lea eax, [esp + 0xec]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x130]
mov dword [esp], eax
call fcn.6fc791d0
cmp eax, dword [esp + 0x88]
jge 0x6fcd896d
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xfc], 1
mov eax, dword [esp + 0xec]
cmp eax, dword [esp + 0x8c]
jge 0x6fcd899a
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0xf0]
cmp eax, dword [esp + 0x90]
jge 0x6fcd89c7
mov dword [esp + 0x90], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xf4]
cmp eax, dword [esp + 0x94]
jge 0x6fcd89f4
mov dword [esp + 0x94], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xf8]
cmp eax, dword [esp + 0x98]
jge 0x6fcd83a0
mov dword [esp + 0x98], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
jmp 0x6fcd83a0
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0xec]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
imul eax, esi
add eax, ebx
add eax, dword [esp + 0x118]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x130]
mov dword [esp], eax
call fcn.6fc791d0
cmp eax, dword [esp + 0x88]
jge 0x6fcd8a88
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xfc], 2
mov eax, dword [esp + 0xec]
cmp eax, dword [esp + 0x8c]
jge 0x6fcd8aad
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], esi
mov eax, dword [esp + 0xf0]
cmp eax, dword [esp + 0x90]
jge 0x6fcd8ad2
mov dword [esp + 0x90], eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], esi
mov eax, dword [esp + 0xf4]
cmp eax, dword [esp + 0x94]
jge 0x6fcd8af7
mov dword [esp + 0x94], eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], esi
mov eax, dword [esp + 0xf8]
cmp eax, dword [esp + 0x98]
jge 0x6fcd83d2
mov dword [esp + 0x98], eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], esi
jmp 0x6fcd83d2
mov eax, esi
sub eax, dword [esp + 0x24c]
lea eax, [eax + eax*2]
add eax, dword [esp + 0x24c]
cdq
idiv dword [esp + 0x24c]
mov edx, 1
sub edx, eax
imul eax, edx, 0x7d0
mov dword [esp + 0x40], eax
imul eax, edx, 0x5a
mov dword [esp + 0x5c], eax
jmp 0x6fcd8114
cmp dword [esp + 0x58], ecx
mov eax, 1
jl 0x6fcd88f9
call dword [0x70fcbe78]
mov eax, 2
jmp 0x6fcd88f9