Function at 0x70d4c677
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 0x70d889a2
test byte [ebp + 0x10], 4
je 0x70d889a2
cmp eax, dword [esi + 0x20]
mov word [esi + 0xa6], 2
mov word [esi + 0xa8], 1
jne 0x70d4cc7a
cmp ecx, dword [esi + 0x24]
jne 0x70d4cc7a
mov dword [esi + 0x74], 0x70d4c00a
mov dword [esi + 0x78], 0x70d4c528
sub eax, ecx
shl eax, 2
mov ebx, eax
push ebx
push esi
call fcn.70d4c65a
push ebx
push esi
mov dword [esi + 0x44], eax
call fcn.70d4c65a
push ebx
push esi
mov dword [esi + 0x48], eax
call fcn.70d4c65a
push ebx
push esi
mov dword [esi + 0x4c], eax
call fcn.70d4c65a
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.70d4c65a
mov ebx, eax
mov eax, dword [ebp + 0x30]
cmp eax, dword [eax + 0x10]
jne 0x70d889d9
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 0x70d4cb9d
cmp word [ecx], ax
jle 0x70d4c7d0
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 0x70d4cb9d
mov ecx, dword [ebp + 8]
jmp 0x70d4c78d
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 0x70d4c78d
cmp word [ebp - 8], 0
jne 0x70d4cc53
movsx eax, word [edi + 2]
movsx ebx, word [edi + 6]
sub ebx, eax
shl ebx, 2
push ebx
push esi
call fcn.70d4cb80
push ebx
push esi
mov dword [esi + 0x5c], eax
call fcn.70d4cb80
push ebx
push esi
mov dword [esi + 0x60], eax
call fcn.70d4cb80
push ebx
push esi
mov dword [esi + 0x64], eax
call fcn.70d4cb80
cmp dword [ebp + 0x1c], 0
mov dword [esi + 0x68], eax
jne 0x70d889e7
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.70d4cb80
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 0x70d4cc86
test byte [ebp + 0x10], 4
je 0x70d4cc53
mov edi, dword [ebp + 0x2c]
shl edi, 2
push edi
push esi
call fcn.70d4cb80
push edi
push esi
mov dword [esi + 0x94], eax
call fcn.70d4cb80
mov dword [esi + 0x98], eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x2c
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 0x70d4cc86
mov dword [esi + 0x74], 0x70e2229e
jmp 0x70d4c6f3
cmp word [ecx], dx
jle 0x70d4cc5c
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 0x70d4cc2d
mov ecx, dword [ebp + 8]
jmp 0x70d4cc86
and word [esi + 0xa8], 0
cmp eax, dword [esi + 0x20]
mov word [esi + 0xa6], 1
jne 0x70d889c6
cmp ecx, dword [esi + 0x24]
jne 0x70d889c6
mov dword [esi + 0x74], 0x70e221bd
jmp 0x70d889cd
mov dword [esi + 0x74], 0x70e2224d
mov dword [esi + 0x78], 0x70e22205
jmp 0x70d4c6fa
push eax
call fcn.70e22165
mov eax, dword [ebp + 0x30]
jmp 0x70d4c75e
push dword [ebp + 0x20]
push esi
call fcn.70d4cb80
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0x7fffffff
jmp 0x70d4cbe7