Function at 0x10240f80
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.10217a40
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10241446
push ebx
mov ebx, dword [esp + 0x3c]
push ebx
push esi
call fcn.10217080
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
jne 0x10241445
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 0x10241416
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 0x102410be
add edx, 2
cmp edx, esi
ja 0x10241416
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 0x102410e6
push edi
push 0x102a1e1c
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.1023f9d0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1024141e
mov edx, dword [esp + 0x14]
lea eax, [edx + 3]
cmp eax, esi
ja 0x10241416
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 0x102411e7
lea edx, [eax + ebx]
mov dword [esp + 0x14], edx
cmp edx, esi
ja 0x10241416
nop
lea ecx, [eax + 4]
cmp ecx, edx
ja 0x102411e3
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
shl esi, 8
or esi, ecx
cmp esi, 4
jb 0x102411e3
cmp esi, ebx
ja 0x102411e3
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 0x102411b4
sub edx, 1
je 0x1024116f
sub edx, 1
jne 0x102411d5
lea ecx, [edi + 0x58]
jmp 0x102411b7
lea ecx, [eax + 0x20]
cmp ecx, ebp
ja 0x102411d5
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 0x102411d5
lea ecx, [edi + 0x54]
push ecx
push dword [esp + 0x14]
lea ecx, [esi - 4]
push ecx
push eax
call fcn.1023f920
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x10241445
mov edx, dword [esp + 0x14]
mov eax, ebp
sub ebx, esi
jne 0x10241120
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea esi, [edx + 1]
add ecx, dword [esp + 0x3c]
cmp esi, ecx
ja 0x10241416
movzx ebx, byte [edx]
mov dword [edi + 0x68], ebx
lea eax, [esi + ebx*2]
cmp eax, ecx
ja 0x10241416
lea eax, [esp + 0x30]
push eax
push 0
push ebx
push 0
push 4
push ebp
call fcn.10219300
add esp, 0x18
mov dword [edi + 0x6c], eax
cmp dword [esp + 0x30], 0
jne 0x1024141e
xor edx, edx
test ebx, ebx
je 0x10241252
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 0x10241234
mov ecx, dword [esp + 0x18]
lea eax, [esi + 8]
add ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x10241416
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 0x10241416
lea eax, [esp + 0x30]
push eax
push 0
push ebx
push 0
push 0x10
push ebp
call fcn.10219300
add esp, 0x18
mov dword [edi + 0x80], eax
cmp dword [esp + 0x30], 0
jne 0x1024141e
test ebx, ebx
je 0x1024141e
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 0x10241380
movzx esi, byte [eax]
lea ecx, [eax + 2]
movzx eax, byte [ecx - 1]
shl esi, 8
or esi, eax
jmp 0x10241386
movzx esi, byte [esi]
lea ecx, [eax + 1]
cmp dword [esp + 0x20], 0
mov eax, ecx
mov dword [edx], esi
je 0x102413a9
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 0x102413ac
mov esi, dword [edi + 0x28]
cmp dword [esp + 0x24], 0
mov dword [edx + 4], esi
je 0x102413bb
lea ecx, [eax + 1]
mov eax, ecx
cmp dword [esp + 0x28], 0
je 0x102413d3
movzx ecx, byte [eax]
lea esi, [eax + 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
jmp 0x102413d9
movzx ecx, byte [ecx]
lea esi, [eax + 1]
cmp dword [esp + 0x1c], 0
mov dword [edx + 8], ecx
je 0x102413f4
movzx ecx, byte [esi]
add esi, 3
shl ecx, 8
movzx eax, byte [esi - 2]
or ecx, eax
jmp 0x102413fa
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 0x10241360
jmp 0x1024141e
mov dword [esp + 0x30], 8
mov ebx, dword [esp + 0x34]
push ebx
call fcn.10217140
push ebx
call fcn.10217410
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