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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018e976
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
lea ecx, [esp + 0xc4]
mov dword [esp + 0x178], ebx
call fcn.100ef680
mov ecx, edi
mov byte [esp + 0x178], 1
call fcn.10156b10
mov ecx, edi
call fcn.1015c660
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x48], ecx
push ebx
lea ecx, [esp + 0x11c]
mov byte [edi + 0x6e], bl
mov byte [edi + 0x6f], bl
mov dword [esp + 0x50], edx
call fcn.10155460
push 1
mov ecx, edi
mov byte [esp + 0x17c], 2
call fcn.1015b860
mov ecx, edi
call fcn.1015af20
test al, al
je 0x1015d970
jmp 0x1015d880
call fcn.10153a20
mov esi, eax
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [edi + 0x3c], ebx
ja 0x1015d8b0
push ebx
mov ecx, edi
call fcn.1015b4f0
test al, al
je case.default.0x1015d8bb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
cmp edx, 6
ja case.default.0x1015d8bb
jmp dword [edx*4 + 0x1015e154]
push ecx
lea ecx, [eax + 0x20]
call fcn.10153240
mov al, byte [eax]
xor ecx, ecx
cmp al, 4
sete cl
dec ecx
mov eax, ecx
jmp 0x1015d938
push ecx
lea ecx, [eax + 0x20]
call fcn.10153240
mov al, byte [eax]
xor edx, edx
cmp al, byte [esi + 4]
sete dl
lea edx, [edx + edx - 1]
mov eax, edx
jmp 0x1015d938
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.101538e0
jmp 0x1015d938
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10152d50
jmp 0x1015d938
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.10152db0
jmp 0x1015d938
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.10152e20
jmp 0x1015d938
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10154d20
cmp eax, ebx
jge 0x1015d970
mov ecx, edi
call fcn.1015b720
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
push edx
push 1
lea ecx, [esp + 0x130]
call fcn.10004ae0
mov ecx, edi
call fcn.1015af20
test al, al
jne 0x1015d880
lea esp, [esp]
mov esi, dword [esp + 0x1c]
call fcn.101530c0
mov ebx, eax
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x3c], ecx
ja 0x1015d9a8
push ecx
mov ecx, esi
call fcn.1015b4f0
test al, al
je case.default.0x1015d9b3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
cmp edx, 6
ja case.default.0x1015d9b3
jmp dword [edx*4 + 0x1015e170]
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov eax, dword [edi + 0x1c]
add eax, esi
mov ebx, ecx
cmp esi, eax
jbe 0x1015d9d0
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
test edi, edi
jne 0x1015d9fb
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 0x1015da08
test edi, edi
je 0x1015da01
mov edi, dword [edi]
jmp 0x1015da03
mov eax, dword [edi]
mov ecx, eax
jmp 0x1015d9e7
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x1015da0d
call fcn.1016d669
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
call fcn.101529a0
mov al, byte [eax]
xor ecx, ecx
cmp al, 4
sete cl
dec ecx
mov eax, ecx
jmp 0x1015dc34
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov dword [esp + 0x10], ecx
cmp esi, edx
jbe 0x1015da4b
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
test edi, edi
jne 0x1015da7a
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0x10]
add ecx, dword [eax + 0x18]
add esi, edx
cmp esi, ecx
ja 0x1015da87
test edi, edi
je 0x1015da80
mov edi, dword [edi]
jmp 0x1015da82
mov eax, dword [edi]
mov ecx, eax
jmp 0x1015da62
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x1015da8c
call fcn.1016d669
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], esi
call fcn.101529a0
mov al, byte [eax]
xor ecx, ecx
cmp al, byte [ebx + 4]
sete cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x1015dc34
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov ebx, ecx
cmp esi, edx
jbe 0x1015dad5
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
test edi, edi
jne 0x1015db00
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 0x1015db0d
test edi, edi
je 0x1015db06
mov edi, dword [edi]
jmp 0x1015db08
mov eax, dword [edi]
mov ecx, eax
jmp 0x1015daec
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x1015db12
call fcn.1016d669
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call fcn.101529a0
mov al, byte [eax]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 4], al
jg 0x1015dbf5
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov ebx, dword [esp + 0x24]
add edi, 0x20
add edx, esi
cmp esi, edx
jbe 0x1015db5b
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
test edi, edi
jne 0x1015db89
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 0x1015db96
test edi, edi
je 0x1015db8f
mov edi, dword [edi]
jmp 0x1015db91
mov eax, dword [edi]
mov ecx, eax
jmp 0x1015db75
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x1015db9b
call fcn.1016d669
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], esi
call fcn.101529a0
mov al, byte [eax]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 5], al
jl 0x1015dbf5
mov eax, 1
jmp 0x1015dc34
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.10152d50
jmp 0x1015dc34
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.10152db0
jmp 0x1015dc34
mov ecx, dword [ebx + 0x18]
sub ecx, dword [ebx + 0x14]
test ecx, 0xffffffe0
jne 0x1015dbfa
or eax, 0xffffffff
jmp 0x1015dc34
mov edx, dword [ebx + 0x18]
sub edx, dword [ebx + 0x14]
sar edx, 5
test edx, edx
ja 0x1015dc0c
call fcn.1016d669
mov ecx, dword [ebx + 0x14]
lea eax, [esp + 0x24]
push eax
call fcn.101548e0
xor ecx, ecx
test eax, eax
setl cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x1015dc34
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.10154d20
test eax, eax
jl case.default.0x1015d9b3
mov ecx, dword [esp + 0x1c]
push 1
call fcn.1015b860
jmp 0x1015d970
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.1015af20
test al, al
je 0x1015dde4
call fcn.10153930
mov esi, eax
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp dword [edi + 0x3c], ecx
ja 0x1015dc8b
push ecx
mov ecx, edi
call fcn.1015b4f0
test al, al
je case.default.0x1015dc96
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
cmp edx, 6
ja case.default.0x1015dc96
jmp dword [edx*4 + 0x1015e18c]
push ecx
lea ecx, [eax + 0x20]
call fcn.10153240
mov al, byte [eax]
xor ecx, ecx
cmp al, 4
sete cl
dec ecx
mov eax, ecx
jmp 0x1015dd13
push ecx
lea ecx, [eax + 0x20]
call fcn.10153240
mov al, byte [eax]
xor edx, edx
cmp al, byte [esi + 4]
sete dl
lea edx, [edx + edx - 1]
mov eax, edx
jmp 0x1015dd13
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.101538e0
jmp 0x1015dd13
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.10152d50
jmp 0x1015dd13
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.10152db0
jmp 0x1015dd13
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.10152e20
jmp 0x1015dd13
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.10154d20
test eax, eax
jge 0x1015dde4
lea edx, [esp + 0xa4]
push edx
call fcn.10155980
add esp, 4
mov esi, eax
or dword [esp + 0x20], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
cmp dword [edi + 0x3c], 0
mov byte [esp + 0x178], 3
ja 0x1015dd5d
push 0
mov ecx, edi
call fcn.1015b4f0
test al, al
je case.default.0x1015dd64
mov eax, dword [esi]
cmp eax, 6
ja case.default.0x1015dd64
jmp dword [eax*4 + 0x1015e1a8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0x20
call fcn.10153240
mov al, byte [eax]
xor ecx, ecx
cmp al, 4
sete cl
dec ecx
mov eax, ecx
jmp 0x1015dddc
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.101538b0
jmp 0x1015dddc
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.101538e0
jmp 0x1015dddc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10152d50
jmp 0x1015dddc
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.10152db0
jmp 0x1015dddc
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.10152e20
jmp 0x1015dddc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10154d20
test eax, eax
jge 0x1015dde4
xor bl, bl
jmp 0x1015dde6
mov bl, 1
test byte [esp + 0x20], 1
mov dword [esp + 0x178], 2
je 0x1015de77
and dword [esp + 0x20], 0xfffffffe
lea edx, [esp + 0xac]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0xb8]
xor esi, esi
mov byte [esp + 0x178], 4
cmp eax, esi
je 0x1015de48
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0xb8]
push edx
push ecx
push eax
call fcn.10154940
mov edx, dword [esp + 0xc8]
push edx
call fcn.1016d679
add esp, 0x14
mov eax, dword [esp + 0xac]
push eax
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov byte [esp + 0x17c], 2
call fcn.1016d679
add esp, 4
jmp 0x1015de79
xor esi, esi
test bl, bl
jne 0x1015e0b1
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], esi
mov byte [esp + 0xe0], bl
mov ecx, edi
mov byte [esp + 0x178], 5
call fcn.1015af20
test al, al
je 0x1015e072
call fcn.10153a20
mov esi, dword [esp + 0x1c]
mov ebx, eax
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
cmp dword [esi + 0x3c], ecx
ja 0x1015dee5
push ecx
mov ecx, esi
call fcn.1015b4f0
test al, al
je case.default.0x1015def0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx]
cmp edx, 6
ja case.default.0x1015def0
jmp dword [edx*4 + 0x1015e1c4]
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov ebx, ecx
mov ecx, dword [edi + 0x1c]
add ecx, esi
cmp esi, ecx
jbe 0x1015df0d
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], esi
test edi, edi
jne 0x1015df3e
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 0x1015df4b
test edi, edi
je 0x1015df44
mov edi, dword [edi]
jmp 0x1015df46
mov eax, dword [edi]
mov ecx, eax
jmp 0x1015df2a
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x1015df50
call fcn.1016d669
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
call fcn.101529a0
mov al, byte [eax]
xor ecx, ecx
cmp al, 4
sete cl
dec ecx
mov eax, ecx
jmp 0x1015e03d
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov dword [esp + 0x10], ecx
cmp esi, edx
jbe 0x1015df91
call fcn.1016d669
mov edi, dword [edi]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
test edi, edi
jne 0x1015dfc0
call fcn.1016d669
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0x10]
add ecx, dword [eax + 0x18]
add esi, edx
cmp esi, ecx
ja 0x1015dfcd
test edi, edi
je 0x1015dfc6
mov edi, dword [edi]
jmp 0x1015dfc8
mov eax, dword [edi]
mov ecx, eax
jmp 0x1015dfa8
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x1015dfd2
call fcn.1016d669
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
call fcn.101529a0
mov al, byte [eax]
xor ecx, ecx
cmp al, byte [ebx + 4]
sete cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x1015e03d
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.101538e0
jmp 0x1015e03d
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.10152d50
jmp 0x1015e03d
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.10152db0
jmp 0x1015e03d
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.10152e20
jmp 0x1015e03d
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.10154d20
test eax, eax
jge 0x1015e072
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1015b720
mov byte [esp + 0x3c], al
mov ecx, dword [esp + 0x3c]
push ecx
push 1
lea ecx, [esp + 0xe4]
call fcn.10004ae0
mov ecx, esi
call fcn.1015af20
test al, al
jne 0x1015deb1
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x148]
call fcn.100ef810
cmp dword [esp + 0xf4], 0x10
mov byte [esp + 0x178], 2
jb 0x1015d970
mov eax, dword [esp + 0xe0]
push eax
call fcn.1016d679
add esp, 4
jmp 0x1015d970
lea ecx, [esp + 0x114]
push ecx
lea ecx, [edi + 0x4c]
call fcn.10156290
lea ecx, [esp + 0x144]
call fcn.100ef7c0
mov esi, 0x10
cmp dword [esp + 0x140], esi
jb 0x1015e0eb
mov edx, dword [esp + 0x12c]
push edx
call fcn.1016d679
add esp, 4
lea ecx, [esp + 0xc4]
mov dword [esp + 0x140], 0xf
mov dword [esp + 0x13c], 0
mov byte [esp + 0x12c], 0
call fcn.100ef7c0
cmp dword [esp + 0x110], esi
jb 0x1015e12e
mov eax, dword [esp + 0xfc]
push eax
call fcn.1016d679
add esp, 4
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret