Function at 0x70d4dde2
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 0x70d88a22
test byte [ebp + 0x10], 4
je 0x70d88a22
cmp eax, dword [esi + 0x20]
mov word [esi + 0xa6], 2
mov word [esi + 0xa8], 1
jne 0x70d4e11e
cmp ecx, dword [esi + 0x24]
jne 0x70d4e11e
mov dword [esi + 0x74], 0x70d4d3e5
mov dword [esi + 0x78], 0x70d4dd76
sub eax, ecx
shl eax, 2
mov ebx, eax
push ebx
push esi
call fcn.70d4ddc5
push ebx
push esi
mov dword [esi + 0x44], eax
call fcn.70d4ddc5
push ebx
push esi
mov dword [esi + 0x48], eax
call fcn.70d4ddc5
push ebx
push esi
mov dword [esi + 0x4c], eax
call fcn.70d4ddc5
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.70d4ddc5
mov ebx, eax
mov eax, dword [ebp + 0x30]
cmp eax, dword [eax + 0x10]
jne 0x70d88a59
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 0x70d4e041
cmp word [ecx], ax
jle 0x70d4df3b
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 0x70d4e041
mov ecx, dword [ebp + 8]
jmp 0x70d4def8
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 0x70d4def8
cmp word [ebp - 8], 0
jne 0x70d4e0f7
movsx eax, word [edi + 2]
movsx ebx, word [edi + 6]
sub ebx, eax
shl ebx, 2
push ebx
push esi
call fcn.70d4e024
push ebx
push esi
mov dword [esi + 0x5c], eax
call fcn.70d4e024
push ebx
push esi
mov dword [esi + 0x60], eax
call fcn.70d4e024
push ebx
push esi
mov dword [esi + 0x64], eax
call fcn.70d4e024
cmp dword [ebp + 0x1c], 0
mov dword [esi + 0x68], eax
jne 0x70d88a67
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.70d4e024
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 0x70d4e12a
test byte [ebp + 0x10], 4
je 0x70d4e0f7
mov edi, dword [ebp + 0x2c]
shl edi, 2
push edi
push esi
call fcn.70d4e024
push edi
push esi
mov dword [esi + 0x94], eax
call fcn.70d4e024
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 0x70d4e12a
mov dword [esi + 0x74], 0x70e2231e
jmp 0x70d4de5e
cmp word [ecx], dx
jle 0x70d4e100
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 0x70d4e0d1
mov ecx, dword [ebp + 8]
jmp 0x70d4e12a
and word [esi + 0xa8], 0
cmp eax, dword [esi + 0x20]
mov word [esi + 0xa6], 1
jne 0x70d88a46
cmp ecx, dword [esi + 0x24]
jne 0x70d88a46
mov dword [esi + 0x74], 0x70e2223d
jmp 0x70d88a4d
mov dword [esi + 0x74], 0x70e222cd
mov dword [esi + 0x78], 0x70e22285
jmp 0x70d4de65
push eax
call fcn.70e221e5
mov eax, dword [ebp + 0x30]
jmp 0x70d4dec9
push dword [ebp + 0x20]
push esi
call fcn.70d4e024
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0x7fffffff
jmp 0x70d4e08b