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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x68]
mov edi, dword [esi + 0xb0]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x3c], edi
sub eax, ecx
mov dword [esp + 0x4c], ebp
cmp eax, 0x400000
mov dword [esp + 0x50], ebp
mov byte [esp + 0x2d], 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x2c], 0
mov dword [esp + 0x18], ebp
jbe 0x100a442c
mov eax, 0x400000
lea ebx, [ecx + eax]
mov dword [esp + 0x1c], ebx
cmp dword [esi + 0x18], ebx
jb 0x100a4502
mov ecx, esi
call fcn.100a3710
test eax, eax
jne 0x100a4caa
mov al, byte [esi + 0xe]
test al, al
je 0x100a4470
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x4c]
cmp edx, eax
ja 0x100a4c9d
jb 0x100a4470
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
ja 0x100a4c9d
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov ecx, eax
sub ecx, edx
jne 0x100a4485
mov dword [esi + 0x18], 0
mov ecx, eax
cmp ecx, 0x400000
jbe 0x100a4492
mov ecx, 0x400000
mov eax, dword [esi + 0x18]
lea ebx, [eax + ecx]
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x1c], ebx
je 0x100a44fa
mov edi, dword [esp + 0x10]
mov ebp, dword [esi + 0x20]
mov ecx, eax
sub ecx, edi
mov edi, dword [esi + 0x14]
dec ecx
and ecx, ebp
cmp eax, ebx
jae 0x100a44d2
mov dl, byte [edi + ecx]
mov byte [edi + eax], dl
mov edx, dword [esp + 0x18]
inc eax
inc ecx
and ecx, ebp
dec edx
mov dword [esp + 0x18], edx
je 0x100a44d2
cmp eax, ebx
jb 0x100a44b9
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x28]
mov ecx, eax
mov ebp, dword [esp + 0x28]
sub ecx, edi
mov edi, dword [esp + 0x24]
add edx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], edx
mov ecx, dword [esi + 0x2c]
adc ecx, 0
mov dword [esi + 0x2c], ecx
jmp 0x100a4433
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x30]
jb 0x100a45a3
mov eax, dword [esp + 0x38]
cmp edi, eax
jb 0x100a4522
ja 0x100a4c9d
test ebp, ebp
jne 0x100a4c9d
cmp edi, dword [esp + 0x34]
jb 0x100a4539
lea ecx, [esp + 0x24]
call fcn.100a32c0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov eax, edi
sub eax, edx
cdq
add eax, ecx
mov ecx, dword [esp + 0x48]
adc edx, ecx
mov ecx, dword [esp + 0x50]
cmp edx, ecx
jb 0x100a45a3
ja 0x100a455e
cmp eax, dword [esp + 0x4c]
jb 0x100a45a3
cmp edx, dword [esp + 0x50]
ja 0x100a4c9d
jb 0x100a4574
cmp eax, dword [esp + 0x4c]
ja 0x100a4c9d
mov eax, dword [esp + 0x2d]
and eax, 0xff
cmp ebp, eax
ja 0x100a4c9d
jne 0x100a45a3
mov al, byte [esi + 0xd]
test al, al
jne 0x100a4c7c
lea edx, [esp + 0x24]
mov ecx, esi
push edx
call fcn.100a3c50
jmp 0x100a481e
xor eax, eax
xor ecx, ecx
mov ah, byte [edi]
mov cl, byte [edi + 2]
mov al, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, 9
sub ecx, ebp
shr eax, cl
mov ecx, dword [esi + 0xd8]
and eax, 0x7fff
cmp eax, ecx
jae 0x100a45f7
shr eax, 6
xor ecx, ecx
mov cx, word [esi + eax*2 + 0x138]
mov edx, ecx
and edx, 0xf
add ebp, edx
mov eax, ebp
and ebp, 7
shr eax, 3
add edi, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
shr ecx, 4
jmp 0x100a4654
cmp eax, dword [esi + 0xdc]
lea ecx, [esi + 0xdc]
mov edx, 0xa
jb 0x100a461b
add ecx, 4
inc edx
cmp eax, dword [ecx]
jae 0x100a460a
cmp edx, 0xf
ja 0x100a4c9d
add ebp, edx
mov ecx, ebp
and ebp, 7
shr ecx, 3
add edi, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov ecx, dword [esi + edx*4 + 0xb0]
sub eax, ecx
mov ecx, 0xf
sub ecx, edx
shr eax, cl
mov ecx, dword [esi + edx*4 + 0xf8]
add eax, ecx
xor ecx, ecx
mov cx, word [esi + eax*2 + 0x538]
cmp ecx, 0x100
jae 0x100a4683
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov byte [edx + eax], cl
mov ecx, dword [esi + 0x28]
inc eax
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add ecx, 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], ecx
adc dword [esi + 0x2c], 0
jmp 0x100a4433
cmp ecx, 0x106
jae 0x100a4847
cmp ecx, 0x102
jb 0x100a480a
je 0x100a46d1
cmp ecx, 0x103
jne 0x100a46aa
mov eax, dword [esi + 0x6c]
jmp 0x100a46c6
cmp ecx, 0x104
jne 0x100a46b7
mov eax, dword [esi + 0x70]
jmp 0x100a46c0
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
mov dword [esi + 0x74], ecx
mov edx, dword [esi + 0x6c]
mov dword [esi + 0x70], edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esi + 0x6c], ecx
xor edx, edx
xor eax, eax
mov dh, byte [edi]
mov al, byte [edi + 2]
mov dl, byte [edi + 1]
mov ecx, 9
shl edx, 8
or edx, eax
mov eax, dword [esi + 0x1168]
sub ecx, ebp
shr edx, cl
and edx, 0x7fff
cmp edx, eax
jae 0x100a4726
shr edx, 6
xor eax, eax
mov ax, word [esi + edx*2 + 0x11c8]
mov ecx, eax
and ecx, 0xf
add ebp, ecx
mov edx, ebp
and ebp, 7
shr edx, 3
add edi, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
shr eax, 4
jmp 0x100a4788
mov ebx, dword [esi + 0x116c]
lea ecx, [esi + 0x116c]
cmp edx, ebx
mov eax, 0xa
jb 0x100a474f
mov ebx, dword [ecx + 4]
add ecx, 4
inc eax
cmp edx, ebx
jae 0x100a473b
cmp eax, 0xf
ja 0x100a4c9d
add ebp, eax
mov ecx, ebp
and ebp, 7
shr ecx, 3
add edi, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov ecx, dword [esi + eax*4 + 0x1140]
sub edx, ecx
mov ecx, 0xf
sub ecx, eax
shr edx, cl
mov ecx, dword [esi + eax*4 + 0x1188]
add edx, ecx
xor eax, eax
mov ax, word [esi + edx*2 + 0x15c8]
cmp eax, 0x2c
jae 0x100a4c9d
cmp eax, 8
jae 0x100a47a2
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x100a4bc9
mov edx, eax
xor ebx, ebx
mov bh, byte [edi]
and eax, 3
mov bl, byte [edi + 1]
or al, 4
shr edx, 2
dec edx
mov dword [esp + 0x20], ebx
mov ebx, 0xffff
lea ecx, [edx + ebp]
mov dword [esp + 0x14], ecx
mov ecx, ebp
shr ebx, cl
mov ecx, dword [esp + 0x20]
and ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, 0x10
sub ecx, ebx
mov ebx, dword [esp + 0x20]
shr ebx, cl
mov ecx, dword [esp + 0x14]
mov ebp, ecx
and ecx, 7
shr ebp, 3
mov dword [esp + 0x28], ecx
mov ecx, edx
add edi, ebp
shl eax, cl
mov dword [esp + 0x24], edi
lea edx, [eax + ebx + 2]
mov dword [esp + 0x14], edx
jmp 0x100a4bc9
cmp ecx, 0x100
jne 0x100a4833
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.100a3970
test eax, eax
jne 0x100a4caa
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
jmp 0x100a4433
mov eax, dword [esi + 0x78]
test eax, eax
mov dword [esp + 0x14], eax
je 0x100a4433
jmp 0x100a4bc9
cmp ecx, 0x132
jae 0x100a4c9d
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x10]
lea eax, [ecx - 0x106]
cmp eax, 8
mov dword [esi + 0x6c], edx
jae 0x100a487a
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x100a48dd
mov edx, eax
xor ebx, ebx
mov bh, byte [edi]
and eax, 3
mov bl, byte [edi + 1]
or al, 4
shr edx, 2
dec edx
mov dword [esp + 0x20], ebx
mov ebx, 0xffff
lea ecx, [edx + ebp]
mov dword [esp + 0x14], ecx
mov ecx, ebp
shr ebx, cl
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
and ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, 0x10
sub ecx, ebx
mov ebx, dword [esp + 0x20]
shr ebx, cl
mov ecx, ebp
and ebp, 7
shr ecx, 3
add edi, ecx
mov ecx, edx
shl eax, cl
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
lea edx, [eax + ebx + 2]
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
mov ah, byte [edi]
mov cl, byte [edi + 2]
mov al, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, 9
sub ecx, ebp
shr eax, cl
mov ecx, dword [esi + 0x7c0]
and eax, 0x7fff
cmp eax, ecx
jae 0x100a4931
shr eax, 6
xor ecx, ecx
mov cx, word [esi + eax*2 + 0x820]
mov edx, ecx
and edx, 0xf
add ebp, edx
mov eax, ebp
and ebp, 7
shr eax, 3
add edi, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
shr ecx, 4
jmp 0x100a4994
mov ebx, dword [esi + 0x7c4]
lea ecx, [esi + 0x7c4]
cmp eax, ebx
mov edx, 0xa
jb 0x100a495b
mov ebx, dword [ecx + 4]
add ecx, 4
inc edx
cmp eax, ebx
jae 0x100a4946
cmp edx, 0xf
jbe 0x100a495b
or eax, 0xffffffff
jmp 0x100a49a3
add ebp, edx
mov ecx, ebp
and ebp, 7
shr ecx, 3
add edi, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov ecx, dword [esi + edx*4 + 0x798]
sub eax, ecx
mov ecx, 0xf
sub ecx, edx
shr eax, cl
mov ecx, dword [esi + edx*4 + 0x7e0]
add eax, ecx
xor ecx, ecx
mov cx, word [esi + eax*2 + 0xc20]
cmp ecx, 4
mov dword [esp + 0x10], ecx
jb 0x100a4bc9
mov eax, ecx
cmp eax, dword [esi + 0x30]
jae 0x100a4c9d
mov ecx, eax
and eax, 1
shr ecx, 1
dec ecx
or al, 2
shl eax, cl
cmp ecx, 4
mov dword [esp + 0x10], eax
jae 0x100a49fe
lea eax, [ecx + ebp]
mov ebx, 0xffff
mov ecx, ebp
xor edx, edx
mov dh, byte [edi]
mov dl, byte [edi + 1]
shr ebx, cl
mov ecx, 0x10
sub ecx, eax
and edx, ebx
shr edx, cl
mov ecx, edx
mov edx, eax
and eax, 7
shr edx, 3
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
add edi, edx
add eax, ecx
mov dword [esp + 0x24], edi
jmp 0x100a4bc5
cmp ecx, 0x11
mov ebx, dword [esp + 0x14]
sbb eax, eax
inc eax
cmp ecx, 0xc
sbb edx, edx
inc edx
add eax, edx
cmp ecx, 7
sbb edx, edx
inc edx
add edx, ebx
add edx, eax
mov al, byte [esi + 0xc]
test al, al
mov dword [esp + 0x14], edx
je 0x100a4b61
lea eax, [ecx - 4]
mov ebx, 1
mov ecx, eax
xor edx, edx
mov dl, byte [edi + 2]
add eax, ebp
shl ebx, cl
xor ecx, ecx
mov ch, byte [edi]
mov cl, byte [edi + 1]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [edi + 3]
dec ebx
shl ecx, 8
or ecx, edx
cmp eax, 0x20
mov ebp, ecx
jbe 0x100a4a6e
mov cl, 0x28
xor edx, edx
mov dl, byte [edi + 4]
sub cl, al
shr edx, cl
lea ecx, [eax - 0x20]
shl ebp, cl
or ebp, edx
jmp 0x100a4a77
mov ecx, 0x20
sub ecx, eax
shr ebp, cl
mov ecx, eax
and eax, 7
shr ecx, 3
add edi, ecx
mov edx, eax
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
mov ah, byte [edi]
mov al, byte [edi + 1]
xor ecx, ecx
mov cl, byte [edi + 2]
and ebp, ebx
shl eax, 8
or eax, ecx
mov ebx, dword [esp + 0x10]
mov ecx, 9
sub ecx, edx
shr eax, cl
mov ecx, dword [esi + 0xcc4]
shl ebp, 4
add ebx, ebp
and eax, 0x7fff
mov dword [esp + 0x10], ebx
cmp eax, ecx
jae 0x100a4aee
shr eax, 6
xor ecx, ecx
mov cx, word [esi + eax*2 + 0xd24]
mov eax, ecx
and eax, 0xf
add edx, eax
mov eax, edx
and edx, 7
shr eax, 3
add edi, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
shr ecx, 4
jmp 0x100a4b50
mov ebx, dword [esi + 0xcc8]
lea ecx, [esi + 0xcc8]
cmp eax, ebx
mov ebp, 0xa
jb 0x100a4b17
mov ebx, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, ebx
jae 0x100a4b03
cmp ebp, 0xf
ja 0x100a4c9d
add edx, ebp
mov ecx, edx
and edx, 7
shr ecx, 3
add edi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov ebx, dword [esi + ebp*4 + 0xc9c]
mov ecx, 0xf
sub eax, ebx
sub ecx, ebp
shr eax, cl
mov ecx, dword [esi + ebp*4 + 0xce4]
add eax, ecx
xor ecx, ecx
mov cx, word [esi + eax*2 + 0x1124]
cmp ecx, 0x10
jae 0x100a4c9d
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x100a4bc5
mov edx, 1
lea eax, [ecx + ebp]
shl edx, cl
xor ecx, ecx
xor ebx, ebx
mov ch, byte [edi]
mov bl, byte [edi + 2]
mov cl, byte [edi + 1]
shl ecx, 8
or ecx, ebx
xor ebx, ebx
mov bl, byte [edi + 3]
dec edx
shl ecx, 8
or ecx, ebx
cmp eax, 0x20
mov ebp, ecx
jbe 0x100a4ba2
mov cl, 0x28
xor ebx, ebx
mov bl, byte [edi + 4]
sub cl, al
shr ebx, cl
lea ecx, [eax - 0x20]
shl ebp, cl
or ebp, ebx
jmp 0x100a4bab
mov ecx, 0x20
sub ecx, eax
shr ebp, cl
mov ecx, eax
and eax, 7
shr ecx, 3
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
add edi, ecx
and ebp, edx
mov dword [esp + 0x24], edi
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x2c]
mov edi, dword [esp + 0x14]
mov ebp, dword [esi + 0x28]
xor ecx, ecx
cmp ecx, eax
mov dword [esi + 0x78], edi
jb 0x100a4be8
ja 0x100a4be4
cmp dword [esp + 0x10], ebp
jb 0x100a4be8
mov byte [esi + 0x10], 1
mov ebx, dword [esi + 0x18]
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, edi
sub eax, edx
mov edx, dword [esi + 0x20]
dec eax
mov dword [esp + 0x20], ebx
and eax, edx
mov edx, dword [esp + 0x1c]
sub edx, ebx
cmp edi, edx
jbe 0x100a4c11
sub edi, edx
mov ecx, edx
mov dword [esp + 0x18], edi
mov edx, ecx
xor ebx, ebx
add edx, ebp
mov ebp, dword [esi + 0x2c]
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x20]
adc ebx, ebp
mov edi, dword [esi + 0x14]
mov dword [esi + 0x2c], ebx
lea ebx, [edx + ecx]
mov dword [esi + 0x18], ebx
mov ebx, dword [esi + 0x1c]
sub ebx, eax
cmp ebx, ecx
jb 0x100a4c58
add eax, edi
sub edi, eax
add edi, edx
mov dl, byte [eax]
mov byte [eax + edi], dl
inc eax
dec ecx
jne 0x100a4c3e
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
jmp 0x100a4433
lea ebp, [edi + edx]
mov dl, byte [edi + eax]
mov byte [ebp], dl
mov ebx, dword [esi + 0x20]
inc ebp
inc eax
and eax, ebx
dec ecx
jne 0x100a4c5b
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
jmp 0x100a4433
mov eax, dword [esp + 0x10]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x38]
cmp edi, eax
jb 0x100a4c91
ja 0x100a4c9d
test ebp, ebp
jne 0x100a4c9d
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x100a4caa
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret