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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x70e73b4a
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov esi, edx
mov dword [esp + 0x48], edi
mov byte [esp + 0x13], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x290], ebx
mov al, byte [edi]
mov dl, al
and dl, 3
cmp dl, 2
sete cl
mov byte [esp + 0x11], bl
test cl, cl
je 0x70e1fe0f
movzx eax, al
mov ecx, 0x83013
shr eax, 2
mov dword [esp + 0x70], ebx
lea edx, [edi + 1]
jmp 0x70e1fe1e
mov edx, dword [edi + 8]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x70], edx
lea edx, [edi + 0xc]
mov dword [esp + 0x6c], eax
or ecx, 0x10
add eax, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x58], eax
cmp dword [esi + 0x24], ebx
jne 0x70e1fe94
push 0x1c
call fcn.70df39ac
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x70e1fe6c
lea eax, [edi + 8]
mov byte [esp + 0x290], 2
push eax
mov dword [edi], 0x70e08ac0
mov dword [edi + 4], ebx
call fcn.70e179f9
jmp 0x70e1fe6e
xor edi, edi
mov byte [esp + 0x290], 0
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x70e1fe89
cmp ecx, ebx
je 0x70e1fe89
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x24], edi
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x24]
push eax
mov dword [esp + 0x64], ecx
call fcn.70e1a037
push edi
push esi
lea ecx, [esp + 0x48]
push ecx
call fcn.70e10fd6
cmp dword [esi], ebx
jne 0x70e1fec0
mov edx, dword [esi + 0x34]
push edx
mov ecx, esi
call fcn.70e28d73
mov edi, dword [esi]
push 4
mov dword [esp + 0x54], ebx
call fcn.70df39ac
add esp, 4
cmp eax, ebx
je 0x70e1fee0
mov dword [eax], 1
mov dword [esp + 0x54], eax
jmp 0x70e1fee4
mov dword [esp + 0x54], ebx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x294], 3
call fcn.70df3e38
lea ecx, [esp + 0x50]
push ecx
mov edi, 0x70e08d80
mov byte [esp + 0x294], 4
call fcn.70e1e811
test al, al
je 0x70e20070
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x68]
push edx
push esi
push eax
mov dword [esp + 0x28], ebx
call fcn.70e22ce5
mov byte [esp + 0x11], 1
cmp dword [esi + 0x24], ebx
jne 0x70e1ff83
push 0x1c
call fcn.70df39ac
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x70e1ff63
lea eax, [edi + 8]
mov byte [esp + 0x290], 6
push eax
mov dword [edi], 0x70e08ac0
mov dword [edi + 4], ebx
call fcn.70e179f9
jmp 0x70e1ff65
xor edi, edi
mov byte [esp + 0x290], 4
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x70e1ff80
cmp ecx, ebx
je 0x70e1ff80
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.70e1a9e9
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x24], ebx
jne 0x70e1fff4
push 0x1c
call fcn.70df39ac
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x70e1ffd4
lea eax, [edi + 8]
mov byte [esp + 0x290], 8
push eax
mov dword [edi], 0x70e08ac0
mov dword [edi + 4], ebx
call fcn.70e179f9
jmp 0x70e1ffd6
xor edi, edi
mov byte [esp + 0x290], 4
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x70e1fff1
cmp ecx, ebx
je 0x70e1fff1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x24]
push eax
call fcn.70e1ba8e
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x6c]
push edx
push esi
push eax
lea edx, [esp + 0x50]
call fcn.70e20d2c
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x28]
mov esi, dword [ecx + 0x68]
mov ecx, dword [edi + 0x6c]
mov edi, dword [ecx]
push eax
push edx
mov edx, dword [edi + 0x60]
push esi
push ecx
call edx
cmp eax, ebx
jge 0x70e2005a
push 0x70e7788c
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x80], 0x8000ffff
mov dword [esp + 0x7c], 0x70e07980
call fcn.70e610ef
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.70df6328
mov edx, dword [esp + 0x30]
add esp, 4
jmp 0x70e2047d
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x14], 0
mov byte [esp + 0x12], 0
je 0x70e20094
or eax, 0xffffffff
mov dword [esp + 0x20], 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
jmp 0x70e200a8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 5
mov dword [esp + 0x5c], 1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x68]
mov edi, dword [esp + 0x30]
add edi, 0x58
push eax
call fcn.70e2d2d3
cmp eax, ebx
jl 0x70e20186
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov edi, dword [esp + 0x20]
add eax, eax
mov eax, dword [ecx + eax*8 + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], edi
cmp edi, dword [esp + 0x1c]
je 0x70e20486
mov ebx, dword [esp + 0x30]
mov edi, edi
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
cmp dword [ebx + edi*4], eax
je 0x70e20108
mov ecx, dword [ebx + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
or byte [esp + 0x13], al
cmp dword [ebx + edi*4], 0
je 0x70e20398
mov edx, dword [esp + 0x24]
mov ecx, edi
shr edx, cl
test dl, 1
je 0x70e20398
cmp byte [esp + 0x12], 0
je 0x70e20156
mov eax, dword [esp + 0x60]
push eax
call fcn.70e1a5dc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x64]
call fcn.70e1a037
mov edx, dword [esp + 0x48]
push edx
push esi
lea eax, [esp + 0x48]
push eax
call fcn.70e10fd6
mov ecx, dword [ebx + edi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call edx
test al, al
jne 0x70e201d1
mov byte [esp + 0x12], al
jmp 0x70e20398
mov byte [esp + 0x290], 0
mov esi, dword [esp + 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x70e201b3
push esi
call fcn.70df3455
mov ecx, dword [esp + 0x54]
add esp, 4
push ecx
call fcn.70df3455
add esp, 4
lea edi, [esp + 0x40]
mov dword [esp + 0x290], 0xffffffff
call fcn.70e1728e
mov eax, 0x80004005
jmp 0x70e204fd
xor ebx, ebx
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], 1
cmp dword [esi + 0x24], ebx
jne 0x70e20232
push 0x1c
call fcn.70df39ac
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
cmp edi, ebx
je 0x70e20212
lea eax, [edi + 8]
mov byte [esp + 0x290], 0xa
push eax
mov dword [edi], 0x70e08ac0
mov dword [edi + 4], ebx
call fcn.70e179f9
jmp 0x70e20214
xor edi, edi
mov byte [esp + 0x290], 4
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x70e2022f
cmp ecx, ebx
je 0x70e2022f
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.70e1a9e9
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x24], ebx
jne 0x70e202a3
push 0x1c
call fcn.70df39ac
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
cmp edi, ebx
je 0x70e20283
lea eax, [edi + 8]
mov byte [esp + 0x290], 0xc
push eax
mov dword [edi], 0x70e08ac0
mov dword [edi + 4], ebx
call fcn.70e179f9
jmp 0x70e20285
xor edi, edi
mov byte [esp + 0x290], 4
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x70e202a0
cmp ecx, ebx
je 0x70e202a0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x24]
push eax
call fcn.70e1ba8e
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x6c]
push edx
push esi
push eax
lea edx, [esp + 0x50]
call fcn.70e20d2c
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x28]
mov edx, dword [edx + 0x68]
mov edi, eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [eax]
push edi
push ecx
push edx
push eax
mov eax, dword [ebx + 0x60]
call eax
test eax, eax
js 0x70e20424
mov edx, dword [esp + 0x34]
lea ecx, [edi + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi]
lea eax, [edi + edx + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x70], eax
test edx, edx
jne 0x70e20332
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
jmp 0x70e20383
mov edi, dword [esp + 0x28]
xor eax, eax
test edi, edi
je 0x70e2037a
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x20]
add edx, 4
lea esp, [esp]
cmp eax, edi
jae 0x70e20368
lea ebx, [eax + eax*2]
lea ecx, [ecx + ebx*4]
lea ebx, [ebx]
mov ebx, dword [edx]
cmp dword [ecx], ebx
jae 0x70e20364
inc eax
add ecx, 0xc
cmp eax, edi
jb 0x70e20356
mov ecx, dword [esp + 0x4c]
lea ebx, [eax + eax*2]
mov ebx, dword [ecx + ebx*4 + 4]
mov dword [edx], ebx
add edx, 0xc
dec dword [esp + 0x38]
jne 0x70e2034a
push ecx
call fcn.70df6328
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
call fcn.70df6328
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x34]
add esp, 4
add edi, dword [esp + 0x5c]
mov dword [esp + 0x64], edi
cmp edi, dword [esp + 0x1c]
jne 0x70e200eb
cmp dword [esp + 0x18], 0
je 0x70e20486
cmp dword [esp + 0x28], 0
jbe 0x70e20486
mov edi, dword [esp + 0x28]
lea edi, [edi + edi*2]
add edi, edi
add edi, edi
push edi
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edx, dword [esp + 0x18]
push edi
mov ebx, eax
push edx
push ebx
call fcn.70df2c0f
mov edi, dword [esp + 0x34]
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
add esp, 0xc
push ebx
push edi
push 1
push ecx
push eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jns 0x70e20446
push 0x70e7788c
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x80], 0x8000ffff
mov dword [esp + 0x7c], 0x70e07980
call fcn.70e610ef
push 0x70e7788c
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x80], 0x8000ffff
mov dword [esp + 0x7c], 0x70e07980
call fcn.70e610ef
cmp byte [esp + 0x11], 0
je 0x70e20479
cmp byte [esp + 0x13], 0
je 0x70e20479
mov ecx, esi
call fcn.70e27ee3
test al, al
je 0x70e20479
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov esi, dword [esi + 0x34]
mov ecx, dword [esp + 0x14]
push edx
push eax
push esi
push ecx
call fcn.70e2c1d6
jmp 0x70e20486
mov edx, dword [esp + 0x18]
push edx
call fcn.70df6328
add esp, 4
xor eax, eax
cmp byte [esp + 0x11], al
mov byte [esp + 0x290], 0
mov esi, dword [esp + 0x54]
sete al
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x70e204be
push esi
call fcn.70df3455
mov ecx, dword [esp + 0x54]
add esp, 4
push ecx
call fcn.70df3455
add esp, 4
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x40]
test eax, eax
je 0x70e204fb
cmp dword [eax], eax
je 0x70e204f2
mov esi, dword [eax]
test esi, esi
je 0x70e204f2
push eax
call fcn.70df3455
mov eax, esi
mov esi, dword [esi]
add esp, 4
cmp esi, dword [esp + 0x40]
je 0x70e204f2
test esi, esi
jne 0x70e204db
push eax
call fcn.70df3455
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 0xc