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

Disassembly:
sub esp, 0x34
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
xor eax, eax
push edi
push 0xd0
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x4c]
push eax
push ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 1
call fcn.70e899f0
mov edi, dword [esp + 0x64]
add esp, 0xc
lea eax, [ebp + 0x80]
push eax
lea edx, [esp + 0x50]
push edx
lea esi, [esp + 0x58]
lea ebx, [esp + 0x50]
call fcn.70e82c30
mov edi, eax
add esp, 8
test edi, edi
je 0x70e818e3
mov ecx, dword [edi + 8]
test ecx, 0x8000000
jne 0x70e818e1
mov al, byte [edi + 3]
test al, al
je 0x70e818e3
cmp al, 0x4b
je 0x70e818e3
test cl, 1
je 0x70e818e3
mov eax, dword [esp + 0x48]
movzx eax, byte [eax]
mov edx, dword [ebp + 0x80]
mov ecx, eax
and ecx, 0xff
mov cx, word [ecx*4 + 0x70e98a21]
mov word [edx + ebp + 0x84], cx
mov edx, dword [ebp + 0x80]
mov byte [edx + ebp + 0x87], 0
add dword [ebp + 0x80], 2
mov ecx, 1
sub dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
jns 0x70e818c0
xor edi, edi
add dword [esp + 0x48], ecx
add dword [esp + 0x50], ecx
adc dword [esp + 0x54], 0
test edi, edi
je 0x70e818e3
test dword [edi + 8], 0x100000
je 0x70e818e3
cmp eax, 0xc0
jae 0x70e818e3
xor edi, edi
mov ebx, dword [esp + 0x58]
cmp dword [ebx + 8], 0
je 0x70e818f7
mov eax, dword [ebx + 0x24]
movzx ecx, byte [eax]
mov dword [esp + 0x14], ecx
cmp edi, 0x70e9b38c
jne 0x70e81912
test byte [esp + 0x14], 8
mov edi, 0x70e98a10
je 0x70e81912
or dword [ebx + 0x10], 0x2000000
cmp edi, 0x70e9b368
jne 0x70e81921
and dword [ebx + 0xc], 0xffffe07f
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
test edi, edi
je 0x70e81ac4
mov al, byte [edi + 3]
test al, al
je 0x70e81991
cmp al, 0x4b
je 0x70e81991
mov edx, dword [edi + 8]
lea ecx, [esp + 0x1c]
push ecx
movzx ecx, byte [edi + 2]
push edx
movzx edx, al
push 0
push ecx
push edx
lea eax, [ebp + 0x80]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x78]
lea esi, [ebp + 0x40]
mov ecx, ebx
call fcn.70e83a10
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
je 0x70e81ac2
mov al, byte [edi + 2]
test al, al
je 0x70e819f9
cmp al, 0x4b
je 0x70e819f9
mov ecx, dword [ebp + 0x40]
mov dx, word [0x70e98a1c]
lea esi, [ebp + 0x40]
mov word [ecx + esi + 4], dx
lea eax, [ecx + esi + 4]
mov cl, byte [0x70e98a1e]
mov byte [eax + 2], cl
add dword [esi], 2
mov eax, dword [edi + 8]
movzx ecx, byte [edi + 3]
lea edx, [esp + 0x48]
push edx
movzx edx, byte [edi + 2]
push eax
push 1
push ecx
push edx
lea eax, [ebp + 0x80]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x78]
mov ecx, ebx
call fcn.70e83a10
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
je 0x70e81ac2
test dword [edi + 8], 0x20000
je 0x70e81a63
mov al, byte [edi + 0xc]
test al, al
je 0x70e81a63
cmp al, 0x4b
je 0x70e81a63
mov ecx, dword [ebp + 0x40]
mov dx, word [0x70e98a1c]
lea esi, [ebp + 0x40]
mov word [ecx + esi + 4], dx
lea eax, [ecx + esi + 4]
mov cl, byte [0x70e98a1e]
mov byte [eax + 2], cl
add dword [esi], 2
mov eax, dword [edi + 8]
movzx ecx, byte [edi + 0xc]
lea edx, [esp + 0x48]
push edx
push eax
push 2
push 0
push ecx
lea eax, [ebp + 0x80]
push eax
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.70e83a10
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
je 0x70e81ac2
test dword [edi + 8], 0x40000
je 0x70e81ac4
mov eax, dword [ebp + 0x40]
mov cx, word [0x70e98a1c]
lea esi, [ebp + 0x40]
mov word [eax + esi + 4], cx
mov dl, byte [0x70e98a1e]
lea eax, [eax + esi + 4]
mov byte [eax + 2], dl
add dword [esi], 2
mov ecx, dword [edi + 8]
movzx edx, byte [edi + 0xd]
lea eax, [esp + 0x48]
push eax
push ecx
push 3
push 0
push edx
lea eax, [ebp + 0x80]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x78]
mov ecx, ebx
call fcn.70e83a10
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
jne 0x70e81ac4
xor edi, edi
mov eax, dword [ebp + 0x40]
cmp eax, 2
jb 0x70e81adc
cmp byte [eax + ebp + 0x42], 0x2c
jne 0x70e81adc
mov byte [eax + ebp + 0x42], 0
add dword [ebp + 0x40], 0xfffffffe
xor esi, esi
cmp edi, esi
je 0x70e81afc
test dword [edi + 8], 0x200000
je 0x70e81afc
lea edi, [ebp + 0x80]
lea ecx, [esp + 0x30]
call fcn.70e82d60
mov edi, eax
mov eax, dword [esp + 0x30]
sub eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x38]
cmp eax, 0xf
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
jg 0x70e81e91
cmp edi, esi
je 0x70e81e91
test dword [edi + 8], 0x400000
je 0x70e81b8d
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
mov dword [esp + 0x18], eax
cmp eax, 8
jb 0x70e81b41
xor edi, edi
jmp 0x70e81b75
mov edx, dword [ebp + 0x80]
and eax, 0xff
mov ax, word [eax*4 + 0x70e98a21]
mov word [edx + ebp + 0x84], ax
mov edx, dword [ebp + 0x80]
mov byte [edx + ebp + 0x87], 0
add dword [ebp + 0x80], 2
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
dec eax
cmp eax, esi
jge 0x70e81b80
xor edi, edi
add edx, 1
adc ecx, esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
cmp edi, esi
je 0x70e81e91
cmp dword [esp + 0x1c], 1
lea esi, [ebp + 4]
mov byte [esi], 0
mov dword [ebp], 0
jne 0x70e81bd1
mov eax, 0x10
test byte [edi + 8], al
je 0x70e81bd1
or dword [ebx + 0x10], eax
mov dword [ebp], 5
mov eax, dword [str.LOCK]
mov dword [esi], eax
mov cx, word [0x70e989a0]
mov word [esi + 4], cx
jmp 0x70e81c36
mov eax, dword [edi + 8]
mov ecx, 0x20
test cl, al
je 0x70e81c0e
test byte [ebx + 0xc], cl
je 0x70e81c0e
or dword [ebx + 0x10], ecx
mov eax, str.REPNZ
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e81bf0
sub eax, edx
mov dword [ebp], eax
inc eax
push eax
push str.REPNZ
push esi
call fcn.70e89b70
add esp, 0xc
jmp 0x70e81c36
mov ecx, 0x40
test cl, al
je 0x70e81c36
test byte [ebx + 0xc], cl
je 0x70e81c36
or dword [ebx + 0x10], ecx
mov dword [ebp], 4
mov edx, dword [str.REP]
mov dword [esi], edx
mov al, byte [0x70e989a8]
mov byte [esi + 4], al
mov eax, dword [edi + 8]
mov ecx, eax
and ecx, 0x14000
cmp ecx, 0x14000
jne 0x70e81c81
mov eax, dword [ebx + 0xc]
and eax, 0x4000
or dword [ebx + 0x10], eax
test eax, eax
mov eax, dword [ebp]
lea ecx, [eax + ebp + 4]
je 0x70e81c64
mov edi, dword [edi + 4]
jmp 0x70e81c67
mov edi, dword [edi + 0xe]
movsx esi, byte [edi]
lea edx, [esi + 1]
push edx
inc edi
push edi
push ecx
call fcn.70e89b70
add esp, 0xc
add dword [ebp], esi
jmp 0x70e81f76
mov edx, eax
and edx, 0xc000
cmp edx, 0xc000
jne 0x70e81cd2
mov edi, dword [edi + 4]
movsx eax, byte [edi]
mov dword [ebp], eax
inc eax
push eax
lea ecx, [edi + 1]
push ecx
push esi
call fcn.70e89b70
mov eax, dword [ebx + 0xc]
add esp, 0xc
and eax, 0x4000
je 0x70e81f76
or dword [ebx + 0x10], eax
mov eax, dword [ebp]
mov byte [eax + ebp + 4], 0x57
mov ecx, dword [ebp]
mov byte [ecx + ebp + 5], 0
inc dword [ebp]
jmp 0x70e81f76
mov ecx, dword [ebx + 0xc]
test ecx, 0x2000
je 0x70e81d7f
test eax, 0x10000
je 0x70e81cf8
test eax, 0x1000008
jne 0x70e81cf8
and ecx, 0x2000
or dword [ebx + 0x10], ecx
mov eax, dword [edi + 4]
movsx esi, byte [eax]
lea edx, [esi + 1]
push edx
inc eax
push eax
mov eax, dword [ebp]
lea ecx, [eax + ebp + 4]
push ecx
call fcn.70e89b70
add dword [ebp], esi
mov eax, dword [ebp]
add esp, 0xc
cmp dword [esp + 0x10], 2
mov cl, 0x57
jne 0x70e81d47
test byte [edi + 8], 4
je 0x70e81d37
mov byte [eax + ebp + 4], cl
mov edx, dword [ebp]
mov byte [edx + ebp + 5], 0
jmp 0x70e81d44
mov byte [eax + ebp + 4], 0x42
mov eax, dword [ebp]
mov byte [eax + ebp + 5], 0
inc dword [ebp]
test dword [edi + 8], 0x8000
je 0x70e81f76
test dword [ebx + 0xc], 0x2000
je 0x70e81f76
mov edx, dword [ebp]
or dword [ebx + 0x10], 0x2000
mov byte [edx + ebp + 4], cl
mov eax, dword [ebp]
mov byte [eax + ebp + 5], 0
inc dword [ebp]
jmp 0x70e81f76
test eax, 0x10000
je 0x70e81e11
and ecx, 0x2000
or dword [ebx + 0x10], ecx
test eax, 0x80000
je 0x70e81dac
cmp dword [esp + 0x5c], 0xc0
mov edx, dword [ebp]
jae 0x70e81e14
mov eax, dword [edi + 0xe]
jmp 0x70e81e17
test eax, 0x400000
je 0x70e81e09
mov eax, dword [edi + 4]
movsx ecx, byte [eax]
mov dword [ebp], ecx
inc ecx
push ecx
inc eax
push eax
push esi
call fcn.70e89b70
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp]
lea eax, [eax + eax*2]
mov edx, dword [eax*4 + 0x70e97dfc]
lea eax, [eax*4 + 0x70e97df8]
mov dword [ecx + ebp + 4], edx
mov edx, dword [eax + 8]
mov ecx, dword [ebp]
mov dword [ecx + ebp + 8], edx
mov eax, dword [eax]
add dword [ebp], eax
mov eax, dword [edi + 0xe]
movsx esi, byte [eax]
mov ecx, dword [ebp]
add esp, 0xc
lea edx, [esi + 1]
inc eax
push edx
push eax
lea eax, [ecx + ebp + 4]
jmp 0x70e81e24
mov eax, dword [edi + 0xe]
mov edx, dword [ebp]
jmp 0x70e81e17
mov edx, dword [ebp]
mov eax, dword [edi + 4]
movsx esi, byte [eax]
lea ecx, [esi + 1]
inc eax
push ecx
push eax
lea eax, [edx + ebp + 4]
push eax
call fcn.70e89b70
add dword [ebp], esi
add esp, 0xc
cmp dword [esp + 0x10], 2
mov cl, 0x44
jne 0x70e81e58
test byte [edi + 8], 4
mov edx, dword [ebp]
je 0x70e81e48
mov byte [edx + ebp + 4], cl
jmp 0x70e81e4d
mov byte [edx + ebp + 4], 0x42
mov eax, dword [ebp]
mov byte [eax + ebp + 5], 0
inc dword [ebp]
test dword [edi + 8], 0x8000
je 0x70e81f76
mov eax, dword [ebx + 0xc]
test eax, 0x2000
je 0x70e81f76
mov edx, dword [ebp]
or dword [ebx + 0x10], 0x2000
mov byte [edx + ebp + 4], cl
mov eax, dword [ebp]
mov byte [eax + ebp + 5], 0
inc dword [ebp]
jmp 0x70e81f76
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov byte [ebp + 0x44], 0
mov dword [ebp + 0x40], esi
mov cl, byte [edx]
cmp cl, 0x9b
jne 0x70e81f03
add eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
adc eax, esi
mov dword [esp + 0x54], eax
mov eax, 0x70e98c8d
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e81ec0
sub eax, edi
mov dword [ebp + 0x80], eax
inc eax
push eax
lea eax, [ebp + 0x84]
push 0x70e98c8d
push eax
call fcn.70e89b70
mov dword [ebp], 4
mov ecx, dword [str.WAIT]
mov dword [ebp + 4], ecx
mov dl, byte [0x70e989e8]
add esp, 0xc
mov byte [ebp + 8], dl
mov dword [ebx + 0x10], esi
jmp 0x70e81f76
add eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
adc eax, esi
movzx esi, cl
lea esi, [esi*4 + 0x70e98a21]
mov dword [esp + 0x54], eax
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e81f23
sub eax, edi
mov dword [ebp + 0x80], eax
inc eax
push eax
lea eax, [ebp + 0x84]
push esi
push eax
call fcn.70e89b70
mov eax, dword [esp + 0x2c]
mov dword [ebp], 2
mov cx, word [0x70e98968]
mov word [ebp + 4], cx
mov dl, byte [0x70e9896a]
mov byte [ebp + 6], dl
movzx ecx, byte [eax]
add esp, 0xc
mov eax, ebp
call fcn.70e85a30
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x28]
pop edi
pop esi
mov dword [ebp + 0xc0], eax
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
add esp, 0x34
ret