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

Disassembly:
sub esp, 0x58
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x20]
mov ebp, dword [ecx]
mov dword [esp + 0x20], eax
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov eax, 0x30
mov ecx, ebp
lea edx, [esi + 0x34]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x100b46db
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x100b46c3
test eax, eax
je 0x100b4738
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x100b472a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100b4738
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x100b472a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100b4738
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x100b472a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100b4738
movzx ebx, byte [edx]
movzx edx, byte [ecx]
sub ebx, edx
je 0x100b4738
test ebx, ebx
mov eax, 1
jg 0x100b473a
or eax, 0xffffffff
jmp 0x100b473a
xor eax, eax
test eax, eax
je 0x100b4748
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [esp + 0x2c], eax
call fcn.100b4330
mov ebp, eax
test ebp, ebp
jne 0x100b4b88
mov eax, dword [esi + 0x44]
test eax, eax
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
jne 0x100b4848
mov eax, 0x377f0682
bswap eax
mov ecx, 0x2de218
bswap ecx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x70]
test eax, eax
mov dword [esp + 0x44], ecx
mov edx, ebx
mov ecx, eax
bswap edx
bswap ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
jne 0x100b47a5
lea edx, [esi + 0x54]
push edx
push 8
call fcn.100a5d40
add esp, 8
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
xor edx, edx
lea eax, [esp + 0x40]
xor ecx, ecx
jmp 0x100b47c0
mov edi, dword [eax]
add edi, edx
add ecx, edi
mov edi, dword [eax + 4]
add eax, 4
add edi, ecx
add edx, edi
add eax, 4
lea edi, [esp + 0x58]
cmp eax, edi
jb 0x100b47c0
mov eax, ecx
bswap eax
mov dword [esp + 0x58], eax
push 0
mov eax, edx
bswap eax
mov dword [esi + 0x50], edx
push 0
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
push 0x20
lea edx, [esp + 0x4c]
mov dword [esi + 0x24], ebx
mov byte [esi + 0x41], 0
mov dword [esi + 0x4c], ecx
mov byte [esi + 0x2f], 1
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x100b4b86
cmp byte [esi + 0x30], al
je 0x100b4848
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x100b4848
mov eax, dword [esi + 8]
mov edx, dword [eax]
and ecx, 0x13
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x100b4b86
mov edx, dword [esp + 0x7c]
mov edi, dword [esi + 8]
mov dword [esp + 0x50], edx
lea eax, [ebx + 0x18]
cdq
push edx
xor ecx, ecx
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x44], edx
call fcn.1013a060
mov ebx, dword [esp + 0x24]
add eax, 0x20
adc edx, 0
test ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
je 0x100b498d
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x100b4928
cmp dword [ebx + 0xc], 0
jne 0x100b48b5
cmp dword [esp + 0x78], 0
jne 0x100b4928
mov edx, dword [ebx + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x48], 0
call fcn.100b3fc0
mov ebp, dword [esp + 0x48]
add esp, 0xc
cmp ebp, edi
jb 0x100b4928
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
lea eax, [ebp - 1]
push 0
push eax
call fcn.1013a060
mov ecx, dword [esi + 0x68]
add eax, 0x38
adc edx, 0
test ecx, ecx
je 0x100b48fd
cmp ebp, ecx
jae 0x100b4900
mov dword [esi + 0x68], ebp
mov ecx, dword [ebx + 4]
push edx
push eax
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [esi + 8]
push ecx
call fcn.100a3060
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x100b4b86
and word [ebx + 0x18], 0xffbf
jmp 0x100b497e
add dword [esp + 0x20], 1
cmp dword [esp + 0x78], 0
je 0x100b4940
cmp dword [ebx + 0xc], 0
jne 0x100b4940
mov eax, dword [esp + 0x74]
jmp 0x100b4942
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
mov ecx, ebx
lea edi, [esp + 0x4c]
call fcn.100b4490
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x100b4b86
mov eax, dword [esp + 0x6c]
add eax, 0x18
cdq
add dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
adc dword [esp + 0x14], edx
or word [ebx + 0x18], 0x40
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x100b489c
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x78], 0
je 0x100b4add
cmp dword [esi + 0x68], 0
je 0x100b49b7
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.100b4510
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x100b4b86
mov eax, dword [esp + 0x7c]
test al, 0x20
je 0x100b4a7b
cmp byte [esi + 0x31], 0
je 0x100b4a6a
mov ecx, dword [esi + 8]
call fcn.100aea80
cdq
mov ebx, eax
mov ecx, eax
add ecx, dword [esp + 0x10]
mov edi, edx
adc edx, dword [esp + 0x14]
push edi
sub ecx, 1
push ebx
sbb edx, 0
push edx
push ecx
call fcn.10139e10
push edi
push ebx
push edx
push eax
call fcn.1013a060
cmp dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
jg 0x100b4a7b
jl 0x100b4a12
cmp dword [esp + 0x10], eax
jae 0x100b4a7b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
lea edi, [esp + 0x4c]
call fcn.100b4490
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x100b4b86
mov eax, dword [esp + 0x6c]
add eax, 0x18
cdq
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
adc eax, edx
add dword [esp + 0x1c], 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
jl 0x100b4a12
jg 0x100b4a7b
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x48]
jb 0x100b4a12
jmp 0x100b4a7b
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
and eax, 0x13
push eax
push edi
call edx
add esp, 8
mov ebp, eax
cmp byte [esi + 0x2f], 0
je 0x100b4add
mov ebx, dword [esi + 0x14]
test ebx, ebx
mov edi, dword [esi + 0x10]
jl 0x100b4add
jg 0x100b4a91
test edi, edi
jb 0x100b4add
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
push 0
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.1013a060
add eax, 0x20
adc edx, 0
cmp edx, ebx
jl 0x100b4ac5
jg 0x100b4acd
cmp eax, edi
ja 0x100b4acd
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
mov edi, esi
call fcn.100b36c0
add esp, 8
mov byte [esi + 0x2f], 0
mov edi, dword [esp + 0x24]
test edi, edi
mov ebx, dword [esi + 0x44]
je 0x100b4b11
test ebp, ebp
jne 0x100b4b86
test byte [edi + 0x18], 0x40
je 0x100b4b0a
mov edx, dword [edi + 0x14]
push edx
add ebx, 1
push esi
mov eax, ebx
call fcn.100b27f0
add esp, 8
mov ebp, eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x100b4ae8
test ebp, ebp
jne 0x100b4b86
cmp dword [esp + 0x1c], 0
jle 0x100b4b50
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
sub dword [esp + 0x1c], 1
push ecx
add ebx, 1
push esi
mov eax, ebx
call fcn.100b27f0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x100b4b15
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1012d370
add esp, 0x58
ret
test ebp, ebp
jne 0x100b4b86
mov eax, dword [esp + 0x6c]
mov edx, eax
sar edx, 0x10
and eax, 0xff00
or edx, eax
cmp dword [esp + 0x78], ebp
mov word [esi + 0x42], dx
mov dword [esi + 0x44], ebx
je 0x100b4b86
mov eax, dword [esp + 0x74]
add dword [esi + 0x3c], 1
mov edx, esi
mov dword [esi + 0x48], eax
call fcn.100b24f0
mov dword [esi + 0xc], ebx
mov eax, ebp
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012d370
add esp, 0x58
ret