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

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x24]
push esi
mov esi, eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], eax
mov dword [edi], eax
lea eax, [edi + 0x88]
push ecx
push ebx
mov dword [edi + 4], ecx
mov dword [eax], 0
mov dword [edi + 0x8c], eax
call fcn.10008380
add esp, 8
test eax, eax
mov dword [esp + 8], eax
jne 0x10024c49
push esi
push ebx
call fcn.100094f0
add esp, 8
test eax, eax
mov dword [esp + 8], eax
jne 0x10024c49
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x94], eax
mov eax, dword [ebx + 0x20]
push ebp
lea ebp, [eax + esi]
lea ecx, [eax + 0xf]
cmp ecx, ebp
mov dword [esp + 0x1c], ebp
ja 0x10024b67
xor edx, edx
mov dh, byte [eax]
add eax, 2
xor ecx, ecx
add eax, 2
add eax, 2
add eax, 2
add eax, 2
mov dl, byte [eax - 9]
add eax, 2
add eax, 2
add eax, 1
mov dword [esp + 0x10], eax
mov dword [edi + 8], edx
mov ch, byte [eax - 0xd]
xor edx, edx
mov cl, byte [eax - 0xc]
mov dword [edi + 0xc], ecx
mov dh, byte [eax - 0xb]
xor ecx, ecx
mov dl, byte [eax - 0xa]
mov dword [edi + 0x10], edx
mov ch, byte [eax - 9]
movsx edx, cx
movzx ecx, byte [eax - 8]
or edx, ecx
mov dword [edi + 0x14], edx
xor edx, edx
mov dh, byte [eax - 7]
movsx ecx, dx
movzx edx, byte [eax - 6]
or ecx, edx
mov dword [edi + 0x18], ecx
xor ecx, ecx
mov ch, byte [eax - 5]
movsx edx, cx
movzx ecx, byte [eax - 4]
or edx, ecx
mov dword [edi + 0x1c], edx
xor edx, edx
mov dh, byte [eax - 3]
movsx ecx, dx
movzx edx, byte [eax - 2]
or ecx, edx
mov dword [edi + 0x20], ecx
movzx ecx, byte [eax - 1]
mov edx, ecx
and edx, 4
mov dword [esp + 0x24], ecx
mov dword [edi + 0x24], ecx
mov dword [esp + 0x20], edx
jne 0x100248fe
add eax, 2
cmp eax, ebp
ja 0x10024b67
movzx esi, byte [eax - 1]
xor edx, edx
mov dh, byte [eax - 2]
mov dword [esp + 0x10], eax
movsx edx, dx
or edx, esi
mov dword [edi + 0x28], edx
test cl, cl
jns 0x10024927
push edi
lea eax, [esp + 0x14]
push 0x100855dc
push eax
mov ebx, ebp
call fcn.100240c0
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x10024c21
mov eax, dword [esp + 0x10]
add eax, 3
cmp eax, ebp
ja 0x10024b67
movzx ecx, byte [eax - 1]
xor edx, edx
mov dh, byte [eax - 3]
mov dl, byte [eax - 2]
shl edx, 8
or edx, ecx
mov dword [esp + 0x18], edx
jbe 0x10024a2d
mov ecx, eax
add eax, edx
cmp eax, ebp
ja 0x10024b67
mov dword [esp + 0x10], eax
lea ecx, [ecx]
lea eax, [ecx + 4]
cmp eax, dword [esp + 0x10]
ja 0x10024a29
xor eax, eax
mov ah, byte [ecx]
add ecx, 2
mov al, byte [ecx - 1]
mov esi, eax
cmp esi, 4
jb 0x10024a29
cmp esi, edx
ja 0x10024a29
xor eax, eax
mov ah, byte [ecx]
lea ebp, [esi + ecx - 2]
add ecx, 2
mov al, byte [ecx - 1]
sub eax, 1
je 0x100249f1
sub eax, 1
je 0x100249ac
sub eax, 1
jne 0x10024a13
lea edx, [edi + 0x58]
jmp 0x100249f4
lea edx, [ecx + 0x20]
cmp edx, ebp
ja 0x10024a13
xor eax, eax
mov ah, byte [ecx + 0xa]
add ecx, 0xc
add ecx, 2
add ecx, 2
movsx edx, ax
movzx eax, byte [ecx - 5]
or edx, eax
mov dword [edi + 0x2c], edx
xor edx, edx
mov dh, byte [ecx - 4]
movsx eax, dx
movzx edx, byte [ecx - 3]
or eax, edx
mov dword [edi + 0x30], eax
xor eax, eax
mov ah, byte [ecx - 2]
movsx edx, ax
movzx eax, byte [ecx - 1]
or edx, eax
mov dword [edi + 0x34], edx
jmp 0x10024a13
lea edx, [edi + 0x54]
mov eax, dword [esp + 0x14]
push edx
push eax
lea eax, [esi - 4]
mov ebx, ecx
call fcn.10024680
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x10024c48
mov edx, dword [esp + 0x18]
sub edx, esi
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jne 0x10024960
mov eax, dword [esp + 0x10]
lea esi, [eax + 1]
cmp esi, ebp
ja 0x10024b67
movzx ebx, byte [eax]
lea ecx, [esi + ebx*2]
cmp ecx, ebp
mov dword [edi + 0x68], ebx
ja 0x10024b67
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0
push ebx
push 0
push 4
push eax
call fcn.1000ace0
add esp, 0x18
cmp dword [esp + 0xc], 0
mov dword [edi + 0x6c], eax
jne 0x10024c21
xor eax, eax
test ebx, ebx
jbe 0x10024a94
xor ecx, ecx
mov ch, byte [esi]
add esi, 2
add eax, 1
movsx edx, cx
movzx ecx, byte [esi - 1]
or edx, ecx
cmp eax, ebx
mov ecx, dword [edi + 0x6c]
mov dword [ecx + eax*4 - 4], edx
jb 0x10024a76
lea edx, [esi + 8]
cmp edx, ebp
ja 0x10024b67
movzx eax, byte [esi]
mov dword [edi + 0x70], eax
movzx ecx, byte [esi + 1]
mov dword [edi + 0x74], ecx
add esi, 1
xor edx, edx
mov dh, byte [esi + 1]
add esi, 3
xor eax, eax
add esi, 2
xor ebx, ebx
add esi, 2
mov ecx, esi
mov dl, byte [esi - 5]
mov dword [edi + 0x44], edx
mov ah, byte [esi - 4]
mov edx, dword [esp + 0x2c]
mov al, byte [esi - 3]
mov dword [edi + 0x38], eax
mov bh, byte [esi - 2]
lea eax, [esp + 0xc]
push eax
push 0
mov bl, byte [esi - 1]
mov dword [edi + 0x78], ebx
sub ecx, dword [edx + 0x20]
push ebx
add ecx, dword [esp + 0x3c]
push 0
mov dword [edi + 0x7c], ecx
mov ecx, dword [esp + 0x24]
push 0x10
push ecx
call fcn.1000ace0
add esp, 0x18
cmp dword [esp + 0xc], 0
mov dword [edi + 0x80], eax
jne 0x10024c21
mov ecx, dword [esp + 0x24]
mov edx, ecx
and edx, 2
mov eax, 4
mov dword [esp + 0x30], edx
je 0x10024b2c
mov eax, 5
cmp dword [esp + 0x20], 0
je 0x10024b36
add eax, 2
mov edx, ecx
and edx, 8
mov dword [esp + 0x24], edx
je 0x10024b44
add eax, 1
mov edx, ecx
and edx, 0x10
mov dword [esp + 0x1c], edx
je 0x10024b52
add eax, 1
and ecx, 0x20
mov dword [esp + 0x18], ecx
je 0x10024b5e
add eax, 1
imul eax, ebx
add eax, esi
cmp eax, ebp
jbe 0x10024b74
mov dword [esp + 0xc], 8
jmp 0x10024c21
test ebx, ebx
jbe 0x10024c21
xor ebp, ebp
mov edi, edi
mov eax, dword [edi + 0x80]
add eax, ebp
cmp dword [esp + 0x30], 0
je 0x10024b9c
add esi, 2
xor ecx, ecx
mov ch, byte [esi - 2]
mov cl, byte [esi - 1]
jmp 0x10024ba2
movzx ecx, byte [esi]
add esi, 1
cmp dword [esp + 0x20], 0
mov dword [eax], ecx
je 0x10024bbd
xor edx, edx
mov dh, byte [esi]
add esi, 2
movsx ecx, dx
movzx edx, byte [esi - 1]
or ecx, edx
jmp 0x10024bc0
mov ecx, dword [edi + 0x28]
cmp dword [esp + 0x24], 0
mov dword [eax + 4], ecx
je 0x10024bcd
add esi, 1
cmp dword [esp + 0x1c], 0
je 0x10024be1
add esi, 2
xor ecx, ecx
mov ch, byte [esi - 2]
mov cl, byte [esi - 1]
jmp 0x10024be7
movzx ecx, byte [esi]
add esi, 1
cmp dword [esp + 0x18], 0
mov dword [eax + 8], ecx
je 0x10024c07
movzx edx, byte [esi + 2]
add esi, 3
xor ecx, ecx
mov ch, byte [esi - 3]
mov cl, byte [esi - 2]
shl ecx, 8
or ecx, edx
jmp 0x10024c12
add esi, 2
xor ecx, ecx
mov ch, byte [esi - 2]
mov cl, byte [esi - 1]
add ebp, 0x10
sub ebx, 1
mov dword [eax + 0xc], ecx
jne 0x10024b80
mov esi, dword [esp + 0x2c]
push esi
call fcn.100095a0
push esi
call fcn.100083e0
mov dword [edi + 0x90], eax
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [edi + 0x94], 0
pop ebp
pop esi
pop ebx
add esp, 0x1c
ret