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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor edx, edx
push ebx
mov ebx, dword [ebp + 0x14]
push edi
test ebx, ebx
je 0x100a38ce
mov dword [ebx], edx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x14], ecx
jb 0x100a38ea
ja 0x100a38e3
cmp dword [edi + 0x10], eax
jb 0x100a38ea
xor eax, eax
jmp 0x100a3c36
sub eax, dword [edi + 0x10]
push esi
sbb ecx, dword [edi + 0x14]
mov esi, dword [ebp + 0x10]
cmp edx, ecx
jb 0x100a3900
ja 0x100a38fe
cmp esi, eax
jbe 0x100a3900
mov esi, eax
test esi, esi
je 0x100a3c33
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x38]
call fcn.100b8c30
mov ecx, dword [edi + 0x38]
mov ebx, eax
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], ebx
mov ecx, eax
lea edx, [eax - 1]
and edx, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
sub ecx, edx
cmp esi, ecx
cmova esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp + 0x10], esi
cmp ebx, dword [edi + 0x58]
jne 0x100a394f
cmp ecx, dword [edi + 0x5c]
je 0x100a3b7f
mov edx, ecx
mov ecx, dword [edi + 0x3c]
mov eax, ebx
call fcn.100b8c30
mov ecx, eax
test edx, edx
ja 0x100a3c12
jb 0x100a3970
cmp ecx, dword [edi + 0x4c]
jae 0x100a3c12
mov eax, dword [edi + 0x48]
mov edx, dword [eax + ecx*4]
cmp dword [edx + 4], 0
je 0x100a3c12
mov ecx, dword [edi + 0x3c]
xor eax, eax
inc eax
shl eax, cl
lea ecx, [eax*8 - 8]
mov eax, ebx
shl eax, 3
and ecx, eax
mov eax, dword [edx]
mov edx, dword [ecx + eax + 4]
bswap edx
mov ebx, dword [ecx + eax]
mov eax, edx
bswap ebx
or eax, ebx
mov dword [ebp - 4], edx
je 0x100a3c12
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
and ecx, edx
and eax, ebx
or ecx, eax
je 0x100a3ba5
cmp dword [edi + 0xa4], 1
jbe 0x100a3b9b
push 0x46
pop esi
sub esi, dword [edi + 0x38]
and ebx, 0x3fffffff
mov eax, edx
mov edx, ebx
mov ecx, esi
call fcn.100b8c30
xor ecx, ecx
bts ecx, esi
xor edx, edx
inc eax
shl eax, 9
cmp esi, 0x20
mov dword [ebp - 0x14], eax
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
mov esi, dword [ebp - 4]
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, esi
and ecx, 0xfffffe00
and ebx, edx
mov eax, ecx
sub eax, dword [edi + 0x70]
mov edx, ebx
sbb edx, dword [edi + 0x74]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp ebx, dword [edi + 0x74]
jb 0x100a3a73
ja 0x100a3a36
cmp ecx, dword [edi + 0x70]
jb 0x100a3a73
cmp dword [ebp - 4], 0
mov edx, dword [edi + 0x78]
ja 0x100a3a73
jb 0x100a3a45
cmp eax, edx
jae 0x100a3a73
or eax, dword [ebp - 4]
je 0x100a3a6b
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0x68]
sub edx, eax
push edx
add eax, ecx
push eax
push ecx
mov dword [edi + 0x78], edx
call fcn.100b8130
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], ebx
add ecx, dword [edi + 0x78]
adc ebx, 0
jmp 0x100a3a7d
and dword [edi + 0x78], 0
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], ebx
cmp ecx, dword [edi + 0x18]
jne 0x100a3a87
cmp ebx, dword [edi + 0x1c]
je 0x100a3a98
push ebx
push ecx
mov ecx, edi
call fcn.100ac9fd
test eax, eax
jne 0x100a3c35
mov ebx, dword [ebp - 0x14]
cmp dword [edi + 0x6c], ebx
jb 0x100a3b9b
mov ecx, dword [edi + 0x78]
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x68]
lea edx, [ebp - 8]
push edx
lea edx, [ecx + eax]
mov ecx, dword [edi + 0x28]
call fcn.100235ea
test eax, eax
jne 0x100a3c35
mov eax, dword [ebp - 8]
add dword [edi + 0x18], eax
adc dword [edi + 0x1c], 0
cmp eax, dword [ebp - 0x14]
jne 0x100a3b9b
add dword [edi + 0x78], eax
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x88]
and esi, 0x1ff
push 0
sub ebx, esi
push ebx
add eax, esi
push eax
call fcn.10023154
mov esi, dword [ebp - 0x18]
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x5c], 0xffffffff
cmp dword [edi + 0x64], esi
jb 0x100a3b9b
mov ecx, dword [edi + 0x90]
mov eax, dword [edi + 0x60]
xor ebx, ebx
push ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], esi
mov eax, dword [edi + 0x98]
lea edx, [ebp - 0x24]
push edx
push ebx
push dword [edi + 0x94]
mov dword [ebp - 0x24], esi
push dword [edi + 0x8c]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x100a3c35
mov eax, dword [edi + 0x98]
cmp dword [eax + 0xc98], 0xffffffff
jne 0x100a3b93
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x10], esi
jne 0x100a3b93
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [edi + 0x58], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x5c], eax
jmp 0x100a3908
mov eax, dword [edi + 0x60]
push esi
add eax, edx
push eax
push dword [ebp + 0xc]
call fcn.100b77a0
jmp 0x100a3c1d
xor eax, eax
inc eax
jmp 0x100a3c35
mov eax, 0x80004005
jmp 0x100a3c35
mov eax, edx
and eax, 0x1ff
cmp eax, 1
je 0x100a3c12
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
add ecx, 0xffffffff
adc eax, 0xffffffff
and eax, ebx
and ecx, edx
add ecx, dword [ebp - 0x14]
push 0
pop ebx
adc eax, ebx
cmp ecx, dword [edi + 0x18]
jne 0x100a3bd3
cmp eax, dword [edi + 0x1c]
je 0x100a3be3
push eax
push ecx
mov ecx, edi
call fcn.100ac9fd
test eax, eax
jne 0x100a3c35
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x28]
lea edx, [ebp + 0x10]
mov ecx, dword [eax]
push edx
push esi
push dword [ebp + 0xc]
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
add dword [edi + 0x18], ecx
mov edx, eax
mov eax, dword [ebp + 0x14]
adc dword [edi + 0x1c], ebx
add dword [edi + 0x10], ecx
adc dword [edi + 0x14], ebx
test eax, eax
je 0x100a3c0e
mov dword [eax], ecx
mov eax, edx
jmp 0x100a3c35
push esi
push 0
push dword [ebp + 0xc]
call fcn.100b8b90
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
add esp, 0xc
add dword [edi + 0x10], eax
adc dword [edi + 0x14], 0
test ebx, ebx
je 0x100a3c33
mov dword [ebx], eax
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x10