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

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x2c]
lea eax, [edi + 0x88]
mov ebp, dword [esi + 0x1c]
push ecx
push esi
mov dword [esp + 0x14], ebp
mov dword [edi], ebp
mov dword [edi + 4], ecx
mov dword [eax], 0
mov dword [edi + 0x8c], eax
call fcn.103594d0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x103831c6
push ebx
mov ebx, dword [esp + 0x3c]
push ebx
push esi
call fcn.10358b10
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
jne 0x103831c5
mov eax, dword [esi + 0x20]
mov dword [edi + 0x94], eax
mov edx, dword [esi + 0x20]
mov dword [esp + 0x18], edx
lea esi, [edx + ebx]
lea eax, [edx + 0xf]
cmp eax, esi
ja 0x10383196
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov dword [edi + 8], ecx
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [edi + 0xc], ecx
movzx ecx, byte [edx + 4]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x10], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
mov dword [edi + 0x14], ecx
movzx eax, byte [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 9]
or ecx, eax
mov dword [edi + 0x18], ecx
movzx eax, byte [edx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 0xb]
or ecx, eax
mov dword [edi + 0x1c], ecx
movzx eax, byte [edx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 0xd]
or ecx, eax
mov dword [edi + 0x20], ecx
movzx ebx, byte [edx + 0xe]
add edx, 0xf
mov eax, ebx
mov dword [esp + 0x1c], ebx
and eax, 4
mov dword [edi + 0x24], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
jne 0x10382e3e
add edx, 2
cmp edx, esi
ja 0x10383196
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [esp + 0x14], edx
mov dword [edi + 0x28], ecx
test bl, bl
jns 0x10382e66
push edi
push 0x10451f6c
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.10381750
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1038319e
mov edx, dword [esp + 0x14]
lea eax, [edx + 3]
cmp eax, esi
ja 0x10383196
mov edx, eax
movzx ebx, byte [edx - 3]
movzx ecx, byte [edx - 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edx - 1]
shl ebx, 8
or ebx, ecx
jbe 0x10382f67
lea edx, [eax + ebx]
mov dword [esp + 0x14], edx
cmp edx, esi
ja 0x10383196
nop
lea ecx, [eax + 4]
cmp ecx, edx
ja 0x10382f63
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
shl esi, 8
or esi, ecx
cmp esi, 4
jb 0x10382f63
cmp esi, ebx
ja 0x10382f63
movzx edx, byte [eax + 2]
lea ebp, [esi + eax]
movzx ecx, byte [eax + 3]
add eax, 4
shl edx, 8
or edx, ecx
sub edx, 1
je 0x10382f34
sub edx, 1
je 0x10382eef
sub edx, 1
jne 0x10382f55
lea ecx, [edi + 0x58]
jmp 0x10382f37
lea ecx, [eax + 0x20]
cmp ecx, ebp
ja 0x10382f55
movzx ecx, byte [eax + 0xa]
shl cx, 8
movsx edx, cx
movzx ecx, byte [eax + 0xb]
or edx, ecx
mov dword [edi + 0x2c], edx
movzx ecx, byte [eax + 0xc]
shl cx, 8
movsx edx, cx
movzx ecx, byte [eax + 0xd]
or edx, ecx
mov dword [edi + 0x30], edx
movzx ecx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl cx, 8
movsx ecx, cx
or ecx, eax
mov dword [edi + 0x34], ecx
jmp 0x10382f55
lea ecx, [edi + 0x54]
push ecx
push dword [esp + 0x14]
lea ecx, [esi - 4]
push ecx
push eax
call fcn.103816a0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x103831c5
mov edx, dword [esp + 0x14]
mov eax, ebp
sub ebx, esi
jne 0x10382ea0
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea esi, [edx + 1]
add ecx, dword [esp + 0x3c]
cmp esi, ecx
ja 0x10383196
movzx ebx, byte [edx]
mov dword [edi + 0x68], ebx
lea eax, [esi + ebx*2]
cmp eax, ecx
ja 0x10383196
lea eax, [esp + 0x30]
push eax
push 0
push ebx
push 0
push 4
push ebp
call fcn.1035ad90
add esp, 0x18
mov dword [edi + 0x6c], eax
cmp dword [esp + 0x30], 0
jne 0x1038319e
xor edx, edx
test ebx, ebx
je 0x10382fd2
movzx eax, byte [esi]
add esi, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [esi - 1]
or ecx, eax
mov eax, dword [edi + 0x6c]
mov dword [eax + edx*4], ecx
inc edx
cmp edx, ebx
jb 0x10382fb4
mov ecx, dword [esp + 0x18]
lea eax, [esi + 8]
add ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x10383196
movzx eax, byte [esi]
mov dword [edi + 0x70], eax
movzx eax, byte [esi + 1]
mov dword [edi + 0x74], eax
movzx ecx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x44], ecx
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
add esi, 8
shl ecx, 8
or ecx, eax
mov ebp, dword [esp + 0x10]
mov dword [edi + 0x38], ecx
movzx ebx, byte [esi - 2]
movzx eax, byte [esi - 1]
mov ecx, dword [esp + 0x34]
shl ebx, 8
or ebx, eax
mov eax, esi
mov dword [edi + 0x78], ebx
sub eax, dword [ecx + 0x20]
add eax, dword [esp + 0x38]
mov dword [edi + 0x7c], eax
mov eax, edx
and eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
mov eax, 0
setne al
add eax, 4
cmp dword [esp + 0x20], 0
lea ecx, [eax + 2]
cmove ecx, eax
mov eax, edx
and eax, 8
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
cmove eax, ecx
mov ecx, edx
and ecx, 0x10
mov dword [esp + 0x28], ecx
lea ecx, [eax + 1]
cmove ecx, eax
and edx, 0x20
mov dword [esp + 0x1c], edx
lea eax, [ecx + 1]
cmove eax, ecx
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x3c]
imul eax, ebx
add eax, esi
cmp eax, ecx
ja 0x10383196
lea eax, [esp + 0x30]
push eax
push 0
push ebx
push 0
push 0x10
push ebp
call fcn.1035ad90
add esp, 0x18
mov dword [edi + 0x80], eax
cmp dword [esp + 0x30], 0
jne 0x1038319e
test ebx, ebx
je 0x1038319e
mov ebp, dword [esp + 0x14]
xor ebx, ebx
mov eax, esi
nop word [eax + eax]
mov edx, dword [edi + 0x80]
add edx, ebx
cmp dword [esp + 0x38], 0
je 0x10383100
movzx esi, byte [eax]
lea ecx, [eax + 2]
movzx eax, byte [ecx - 1]
shl esi, 8
or esi, eax
jmp 0x10383106
movzx esi, byte [esi]
lea ecx, [eax + 1]
cmp dword [esp + 0x20], 0
mov eax, ecx
mov dword [edx], esi
je 0x10383129
lea ecx, [eax + 2]
movzx eax, byte [ecx - 2]
shl ax, 8
movsx esi, ax
movzx eax, byte [ecx - 1]
or esi, eax
mov eax, ecx
jmp 0x1038312c
mov esi, dword [edi + 0x28]
cmp dword [esp + 0x24], 0
mov dword [edx + 4], esi
je 0x1038313b
lea ecx, [eax + 1]
mov eax, ecx
cmp dword [esp + 0x28], 0
je 0x10383153
movzx ecx, byte [eax]
lea esi, [eax + 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
jmp 0x10383159
movzx ecx, byte [ecx]
lea esi, [eax + 1]
cmp dword [esp + 0x1c], 0
mov dword [edx + 8], ecx
je 0x10383174
movzx ecx, byte [esi]
add esi, 3
shl ecx, 8
movzx eax, byte [esi - 2]
or ecx, eax
jmp 0x1038317a
movzx ecx, byte [esi]
add esi, 2
movzx eax, byte [esi - 1]
add ebx, 0x10
shl ecx, 8
or ecx, eax
mov eax, esi
mov dword [edx + 0xc], ecx
sub ebp, 1
jne 0x103830e0
jmp 0x1038319e
mov dword [esp + 0x30], 8
mov ebx, dword [esp + 0x34]
push ebx
call fcn.10358bd0
push ebx
call fcn.10358ea0
mov dword [edi + 0x90], eax
add esp, 8
mov eax, dword [esp + 0x30]
mov dword [edi + 0x94], 0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret