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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, 0x100
mov ebx, ecx
movzx edx, byte [edi + 0x41]
imul dx, ax
movzx eax, byte [edi + 0x40]
add dx, ax
mov word [ebx + 0x18], dx
cmp dword [ebx + 0x14], 8
movzx ecx, dx
mov dword [ebp + 0xc], ecx
mov dword [ebx + 0x10], 0
jb 0x10069c0a
mov eax, dword [ebx]
jmp 0x10069c0c
mov eax, ebx
xor edx, edx
mov word [eax], dx
mov eax, ecx
mov esi, dword [ebx + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
ja 0x10069c4a
cmp dword [ebx + 0x14], eax
je 0x10069c4a
push 1
push eax
mov ecx, ebx
call fcn.10059430
test al, al
je 0x10069c47
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], esi
jb 0x10069c3f
mov eax, dword [ebx]
jmp 0x10069c41
mov eax, ebx
xor ecx, ecx
mov word [eax + esi*2], cx
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x40
jle 0x10069c57
mov ecx, 0x40
mov dword [ebp + 0xc], ecx
xor esi, esi
cmp byte [edi], 0
je 0x10069c91
mov edi, edi
cmp esi, ecx
jge 0x10069c91
movzx ecx, byte [esi + edi + 1]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esi + edi]
add cx, ax
movzx eax, cx
push eax
push ecx
mov ecx, ebx
call fcn.10057560
mov ecx, dword [ebp + 0xc]
add esi, 2
cmp byte [esi + edi], 0
jne 0x10069c60
mov al, byte [edi + 0x42]
mov byte [ebx + 0x1a], al
cmp byte [edi + 0x43], 1
sete al
mov byte [ebx + 0x3c], al
movzx ecx, byte [edi + 0x77]
movzx eax, byte [edi + 0x76]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x75]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x74]
shl ecx, 8
add ecx, eax
mov dword [ebx + 0x20], ecx
movzx ecx, byte [edi + 0x7b]
movzx eax, byte [edi + 0x7a]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x79]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x78]
shl ecx, 8
add ecx, eax
mov dword [ebx + 0x1c], ecx
movzx ecx, byte [edi + 0x47]
movzx eax, byte [edi + 0x46]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x45]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x44]
shl ecx, 8
add ecx, eax
mov dword [ebx + 0x24], ecx
movzx ecx, byte [edi + 0x4b]
movzx eax, byte [edi + 0x4a]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x49]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x48]
shl ecx, 8
add ecx, eax
mov dword [ebx + 0x28], ecx
movzx ecx, byte [edi + 0x4f]
movzx eax, byte [edi + 0x4e]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x4d]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x4c]
shl ecx, 8
add ecx, eax
mov dword [ebx + 0x2c], ecx
movzx ecx, byte [edi + 0x63]
movzx eax, byte [edi + 0x62]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x61]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x60]
shl ecx, 8
add ecx, eax
mov dword [ebx + 0x34], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x3d], eax
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x41], eax
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x45], eax
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x49], eax
mov eax, dword [edi + 0x64]
mov dword [ebx + 0x4d], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x51], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x55], eax
mov eax, dword [edi + 0x70]
pop edi
mov dword [ebx + 0x59], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret 8