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

Disassembly:
push 0xffffffffffffffff
push 0x1016f088
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x40]
mov eax, dword [eax + 0xc]
add ecx, 0x40
lea edx, [esp + 0x74]
push edx
call eax
mov esi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x10085a8f
mov ecx, dword [esp + 0x7c]
test ecx, ecx
mov edi, dword [eax + 4]
je 0x1008585e
cmp ecx, eax
je 0x10085863
call fcn.100bcb20
cmp dword [esp + 0x80], edi
sete al
test al, al
jne 0x10085a8f
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x74]
call eax
test al, al
je 0x1008588a
xor edi, edi
jmp 0x100858b5
cmp dword [esp + 0x7c], 0
jne 0x10085896
call fcn.100bcb20
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
cmp edx, dword [ecx + 4]
jne 0x100858ab
call fcn.100bcb20
mov eax, dword [esp + 0x80]
mov edi, dword [eax + 8]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
cmp eax, 1
jne 0x10085a44
mov edx, dword [edi]
mov eax, dword [edx + 0xa0]
push ebp
mov ecx, edi
call eax
mov ecx, eax
test ecx, ecx
je case.default.0x100858ee
mov eax, dword [esp + 0xa0]
cmp eax, 5
ja case.default.0x100858ee
jmp dword [eax*4 + 0x10085aac]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x14]
push eax
call edx
push esi
push eax
mov byte [esp + 0x98], 1
call fcn.1000d7a0
lea ecx, [esp + 0x1c]
jmp 0x100859bf
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x24]
push edx
call eax
push esi
push eax
mov byte [esp + 0x98], 2
call fcn.1000d860
lea ecx, [esp + 0x2c]
jmp 0x100859bf
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x34]
push eax
call edx
push esi
push eax
mov byte [esp + 0x98], 3
call fcn.1000d800
lea ecx, [esp + 0x3c]
jmp 0x100859bf
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x44]
push edx
call eax
push esi
push eax
mov byte [esp + 0x98], 4
call fcn.1000d8c0
lea ecx, [esp + 0x4c]
jmp 0x100859bf
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x54]
push eax
call edx
push esi
push eax
mov byte [esp + 0x98], 5
call fcn.1000d6e0
lea ecx, [esp + 0x5c]
jmp 0x100859bf
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x64]
push edx
call eax
push esi
push eax
mov byte [esp + 0x98], 6
call fcn.1000d740
lea ecx, [esp + 0x6c]
add esp, 8
mov bl, al
mov byte [esp + 0x90], 0
call fcn.1000d9b0
test bl, bl
je case.default.0x100858ee
lea ecx, [esp + 0x74]
call fcn.100b1180
jmp 0x10085843
mov eax, dword [esp + 0xa0]
mov edx, dword [edi]
mov edx, dword [edx + 0x8c]
push eax
push esi
push ebp
mov ecx, edi
call edx
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x74]
call edx
test al, al
jne 0x10085843
cmp dword [esp + 0x7c], 0
jne 0x10085a1a
call fcn.100bcb20
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
cmp ecx, dword [eax + 4]
jne 0x10085a2f
call fcn.100bcb20
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
mov dword [esp + 0x80], eax
jmp 0x10085843
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x74]
call eax
test al, al
jne 0x10085843
cmp dword [esp + 0x7c], 0
jne 0x10085a65
call fcn.100bcb20
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
cmp edx, dword [ecx + 4]
jne 0x10085a7a
call fcn.100bcb20
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
jmp 0x10085843
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0xc