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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movsx eax, word [edi]
mov dword [esi + 0x20], eax
movsx eax, word [edi + 4]
mov dword [esi + 0x24], eax
movsx eax, word [edi + 2]
mov dword [esi + 0x18], eax
movsx eax, word [edi + 6]
and edx, 2
test dx, dx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov dword [ebp - 8], edx
jne 0x70d8846c
test byte [ebp + 0x10], 4
je 0x70d8846c
cmp eax, dword [esi + 0x20]
mov word [esi + 0xa6], 2
mov word [esi + 0xa8], 1
jne 0x70d1ad9c
cmp ecx, dword [esi + 0x24]
jne 0x70d1ad9c
mov dword [esi + 0x74], 0x70d1a4f3
mov dword [esi + 0x78], 0x70d1a623
sub eax, ecx
shl eax, 2
mov ebx, eax
push ebx
push esi
call fcn.70d19f83
push ebx
push esi
mov dword [esi + 0x44], eax
call fcn.70d19f83
push ebx
push esi
mov dword [esi + 0x48], eax
call fcn.70d19f83
push ebx
push esi
mov dword [esi + 0x4c], eax
call fcn.70d19f83
and dword [esi + 0xa0], 0
xor ecx, ecx
mov cx, word [esi + 0xa8]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp + 0x24]
inc ecx
inc ecx
shl eax, cl
push eax
push esi
call fcn.70d19f83
mov ebx, eax
mov eax, dword [ebp + 0x30]
cmp eax, dword [eax + 0x10]
jne 0x70d884a3
mov ecx, dword [eax]
mov eax, dword [esi + 0x44]
and dword [ebp + 0xc], 0
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x48]
mov dword [ebp + 0x24], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 4], eax
mov ax, word [esi + 0x30]
cmp ax, word [esi + 0x2c]
mov dword [ebp + 8], ecx
jge 0x70d1ac80
cmp word [ecx], ax
jle 0x70d1a902
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
add dword [ebp + 0x14], 4
add dword [ebp + 0x24], 4
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x18]
add dword [ebp + 0x18], 4
mov dword [ecx], ebx
movsx ecx, word [ebp + 0xc]
shl ecx, 1
add ebx, ecx
mov dword [edx], ebx
mov edx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [edx], ebx
add ebx, ecx
inc eax
cmp ax, word [esi + 0x2c]
jge 0x70d1ac80
mov ecx, dword [ebp + 8]
jmp 0x70d1a8bf
xor edx, edx
mov dx, word [ecx + 2]
movsx ecx, word [esi + 0xa8]
shl dx, cl
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov dword [ebp + 8], ecx
add dword [ebp + 0xc], edx
jmp 0x70d1a8bf
cmp word [ebp - 8], 0
jne 0x70d1ad36
movsx eax, word [edi + 2]
movsx ebx, word [edi + 6]
sub ebx, eax
shl ebx, 2
push ebx
push esi
call fcn.70d19fa0
push ebx
push esi
mov dword [esi + 0x5c], eax
call fcn.70d19fa0
push ebx
push esi
mov dword [esi + 0x60], eax
call fcn.70d19fa0
push ebx
push esi
mov dword [esi + 0x64], eax
call fcn.70d19fa0
cmp dword [ebp + 0x1c], 0
mov dword [esi + 0x68], eax
jne 0x70d884b1
mov eax, dword [ebp + 0x28]
xor ecx, ecx
mov cx, word [esi + 0xa8]
inc ecx
inc ecx
shl eax, cl
push eax
push esi
call fcn.70d19fa0
mov edx, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x30]
mov ecx, dword [ecx + 4]
and dword [ebp + 0xc], 0
mov dword [ebp + 0x30], edx
mov edx, dword [esi + 0x64]
mov dword [ebp + 0x14], edx
mov edx, dword [esi + 0x60]
mov dword [ebp + 0x18], edx
mov edx, dword [esi + 0x68]
mov dword [ebp + 0x24], edx
mov dx, word [edi + 2]
cmp dx, word [edi + 6]
mov dword [ebp + 8], ecx
jl 0x70d1ad3f
test byte [ebp + 0x10], 4
je 0x70d1ad36
mov edi, dword [ebp + 0x2c]
shl edi, 2
push edi
push esi
call fcn.70d19fa0
push edi
push esi
mov dword [esi + 0x94], eax
call fcn.70d19fa0
mov dword [esi + 0x98], eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x2c
cmp word [ecx], dx
jle 0x70d1ad7e
mov ecx, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x18]
add dword [ebp + 0x30], 4
add dword [ebp + 0x18], 4
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0x14], 4
mov dword [ecx], eax
movsx ecx, word [ebp + 0xc]
shl ecx, 1
add eax, ecx
mov dword [ebx], eax
mov ebx, dword [ebp + 0x24]
add dword [ebp + 0x24], 4
mov dword [ebx], eax
add eax, ecx
inc edx
cmp dx, word [edi + 6]
jge 0x70d1ad10
mov ecx, dword [ebp + 8]
jmp 0x70d1ad3f
xor ebx, ebx
mov bx, word [ecx + 2]
movsx ecx, word [esi + 0xa8]
shl bx, cl
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov dword [ebp + 8], ecx
add dword [ebp + 0xc], ebx
jmp 0x70d1ad3f
mov dword [esi + 0x74], 0x70e0fdde
jmp 0x70d1a825
and word [esi + 0xa8], 0
cmp eax, dword [esi + 0x20]
mov word [esi + 0xa6], 1
jne 0x70d88490
cmp ecx, dword [esi + 0x24]
jne 0x70d88490
mov dword [esi + 0x74], 0x70e0fcfd
jmp 0x70d88497
mov dword [esi + 0x74], 0x70e0fd8d
mov dword [esi + 0x78], 0x70e0fd45
jmp 0x70d1a82c
push eax
call fcn.70e0fca5
mov eax, dword [ebp + 0x30]
jmp 0x70d1a890
push dword [ebp + 0x20]
push esi
call fcn.70d19fa0
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0x7fffffff
jmp 0x70d1acca