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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018d9fe
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x8c]
mov dword [esp + 0x38], eax
mov edi, ecx
mov ecx, edi
call fcn.1015af20
test al, al
je 0x10155d22
mov ecx, edi
call fcn.1015af00
cmp al, 0x20
je 0x10155a86
cmp al, 9
jne 0x10155d22
cmp dword [edi + 0xe4], 0
jne case.default.0x10155b0a
test byte [0x102989c8], 1
jne 0x10155ad2
or dword [0x102989c8], 1
push 9
mov ecx, 0x102989a8
mov dword [esp + 0xb4], 0
call fcn.1015b9a0
push 0x101f1270
call fcn.1016d4f5
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x3c], ecx
ja 0x10155afb
push ecx
mov ecx, edi
call fcn.1015b4f0
test al, al
je case.default.0x10155b0a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x102989a8]
cmp edx, 6
ja case.default.0x10155b0a
jmp dword [edx*4 + 0x10156158]
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov ebx, ecx
mov ecx, dword [edi + 0x1c]
add ecx, esi
cmp esi, ecx
jbe 0x10155b27
call fcn.1016d669
mov edi, dword [edi]
mov ebp, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x10155b50
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
add esi, ebx
cmp esi, edx
ja 0x10155b5d
test edi, edi
je 0x10155b56
mov edi, dword [edi]
jmp 0x10155b58
mov eax, dword [edi]
mov ecx, eax
jmp 0x10155b3c
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x10155b62
call fcn.1016d669
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
call fcn.101529a0
mov al, byte [eax]
xor ecx, ecx
cmp al, 4
sete cl
dec ecx
mov eax, ecx
jmp 0x10155cfa
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov ebx, ecx
cmp esi, edx
jbe 0x10155b9a
call fcn.1016d669
mov edi, dword [edi]
mov ebp, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x10155bc3
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x10155bd0
test edi, edi
je 0x10155bc9
mov edi, dword [edi]
jmp 0x10155bcb
mov eax, dword [edi]
mov ecx, eax
jmp 0x10155baf
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x10155bd5
call fcn.1016d669
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
call fcn.101529a0
mov al, byte [eax]
xor edx, edx
cmp al, byte [0x102989ac]
sete dl
lea edx, [edx + edx - 1]
mov eax, edx
jmp 0x10155cfa
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov eax, dword [edi + 0x1c]
add eax, esi
mov ebx, ecx
cmp esi, eax
jbe 0x10155c14
call fcn.1016d669
mov edi, dword [edi]
mov ebp, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x10155c3d
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x10155c4a
test edi, edi
je 0x10155c43
mov edi, dword [edi]
jmp 0x10155c45
mov eax, dword [edi]
mov ecx, eax
jmp 0x10155c29
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x10155c4f
call fcn.1016d669
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], esi
call fcn.101529a0
mov al, byte [eax]
cmp byte [0x102989ac], al
jg 0x10155cc0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
add ecx, 0x20
call fcn.10153240
mov al, byte [eax]
cmp byte [0x102989ad], al
jl 0x10155cc0
mov eax, 1
jmp 0x10155cfa
lea eax, [esp + 0x18]
push eax
mov ecx, 0x102989a8
call fcn.10152d50
jmp 0x10155cfa
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x102989a8
call fcn.10152db0
jmp 0x10155cfa
mov eax, dword [0x102989c0]
sub eax, dword [0x102989bc]
sar eax, 5
test eax, eax
jne 0x10155cc5
or eax, 0xffffffff
jmp 0x10155cfa
ja 0x10155ccc
call fcn.1016d669
mov ecx, dword [0x102989bc]
lea edx, [esp + 0x18]
push edx
call fcn.101548e0
xor ecx, ecx
test eax, eax
setl cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x10155cfa
lea edx, [esp + 0x18]
push edx
mov ecx, 0x102989a8
call fcn.10154d20
test eax, eax
jl case.default.0x10155b0a
mov eax, dword [esp + 0x14]
mov byte [eax + 0x6e], 0
mov edi, dword [esp + 0x14]
push 1
mov ecx, edi
call fcn.1015b860
mov ecx, edi
call fcn.1015af20
test al, al
jne 0x10155a73
lea ecx, [esp + 0x84]
push ecx
call fcn.10155980
add esp, 4
mov esi, eax
xor ecx, ecx
mov eax, edi
xor ebp, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xb0], 1
cmp dword [edi + 0x3c], ebp
ja 0x10155d6a
push ebp
mov ecx, edi
call fcn.1015b4f0
test al, al
je case.default.0x10155d71
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
cmp edx, 6
ja case.default.0x10155d71
jmp dword [edx*4 + 0x10156174]
push ecx
lea ecx, [eax + 0x20]
call fcn.10153240
mov al, byte [eax]
xor edx, edx
cmp al, 4
sete dl
dec edx
mov eax, edx
jmp 0x10155df3
push ecx
lea ecx, [eax + 0x20]
call fcn.10153240
mov al, byte [eax]
xor ecx, ecx
cmp al, byte [esi + 4]
sete cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x10155df3
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.101538e0
jmp 0x10155df3
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.10152d50
jmp 0x10155df3
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.10152db0
jmp 0x10155df3
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.10152e20
jmp 0x10155df3
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.10154d20
jmp 0x10155df3
or eax, 0xffffffff
cmp eax, ebp
setge bl
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb0], 2
cmp eax, ebp
je 0x10155e39
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x98]
push edx
push ecx
push eax
call fcn.10154940
mov edx, dword [esp + 0xa8]
push edx
call fcn.1016d679
add esp, 0x14
mov eax, dword [esp + 0x8c]
push eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xb4], 0xffffffff
call fcn.1016d679
add esp, 4
test bl, bl
je 0x101560cf
mov ecx, edi
call fcn.1015af20
test al, al
je 0x101560cf
call fcn.10153930
mov esi, dword [esp + 0x14]
mov ebp, eax
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x3c], ecx
ja 0x10155eb4
push ecx
mov ecx, esi
call fcn.1015b4f0
test al, al
je case.default.0x10155ec0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
cmp edx, 6
ja case.default.0x10155ec0
jmp dword [edx*4 + 0x10156190]
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov ebp, ecx
mov ecx, dword [edi + 0x1c]
add ecx, esi
cmp esi, ecx
jbe 0x10155edd
call fcn.1016d669
mov edi, dword [edi]
mov ebx, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x10155f06
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
add esi, ebp
cmp esi, edx
ja 0x10155f13
test edi, edi
je 0x10155f0c
mov edi, dword [edi]
jmp 0x10155f0e
mov eax, dword [edi]
mov ecx, eax
jmp 0x10155ef2
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x10155f18
call fcn.1016d669
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
call fcn.101529a0
xor ecx, ecx
cmp byte [eax], 4
sete cl
dec ecx
mov eax, ecx
jmp 0x101560af
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov ebx, ecx
cmp esi, edx
jbe 0x10155f4f
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
test edi, edi
jne 0x10155f7a
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x10155f87
test edi, edi
je 0x10155f80
mov edi, dword [edi]
jmp 0x10155f82
mov eax, dword [edi]
mov ecx, eax
jmp 0x10155f66
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x10155f8c
call fcn.1016d669
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], esi
call fcn.101529a0
mov al, byte [eax]
xor ecx, ecx
cmp al, byte [ebp + 4]
sete cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x101560af
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov ebx, ecx
cmp esi, edx
jbe 0x10155fcf
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
test edi, edi
jne 0x10155ffa
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x10156007
test edi, edi
je 0x10156000
mov edi, dword [edi]
jmp 0x10156002
mov eax, dword [edi]
mov ecx, eax
jmp 0x10155fe6
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x1015600c
call fcn.1016d669
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
call fcn.101529a0
mov al, byte [eax]
cmp byte [ebp + 4], al
jg 0x10156070
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
add ecx, 0x20
call fcn.10153240
mov al, byte [eax]
cmp byte [ebp + 5], al
jl 0x10156070
mov eax, 1
jmp 0x101560af
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.10152d50
jmp 0x101560af
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.10152db0
jmp 0x101560af
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
test eax, 0xffffffe0
jne 0x10156075
or eax, 0xffffffff
jmp 0x101560af
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x14]
sar ecx, 5
test ecx, ecx
ja 0x10156087
call fcn.1016d669
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x20]
push edx
call fcn.101548e0
xor ecx, ecx
test eax, eax
setl cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x101560af
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.10154d20
test eax, eax
jge 0x101560cf
mov esi, dword [esp + 0x14]
push 1
mov ecx, esi
call fcn.1015b860
mov ecx, esi
call fcn.1015af20
test al, al
jne 0x10155e80
mov edi, dword [esp + 0x14]
push edi
call fcn.10153930
mov ecx, eax
call fcn.10155070
test al, al
je 0x10156140
call fcn.10153930
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], edi
cmp dword [edi + 0x3c], 0
mov esi, eax
ja 0x1015610a
push 0
mov ecx, edi
call fcn.1015b4f0
test al, al
je 0x10156118
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.101548e0
jmp 0x1015611b
or eax, 0xffffffff
push eax
mov ecx, edi
call fcn.1015b860
mov ecx, edi
call fcn.1015c770
cmp dword [edi + 0xe4], 0
jne 0x10155a64
mov byte [edi + 0x6e], 1
jmp 0x10155a64
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret