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

Disassembly:
push 0xffffffffffffffff
push 0x10055928
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1007d930]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007d930]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0xb0]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
call fcn.100073d0
xor ebp, ebp
mov dword [esp + 0x8c], ebp
push eax
call fcn.1000ba90
mov ebx, eax
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x8c], 0xffffffff
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
je 0x1000bf41
call fcn.100071e0
cmp eax, ebp
je 0x1000bf41
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call fcn.1000b100
mov dword [esp + 0x8c], 1
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
movzx ecx, ax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov byte [esp + 0x8c], 2
lea edx, [esi + 8]
push edx
lea eax, [esp + 0x20]
push eax
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x2c], 0x30
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
call fcn.10054559
mov al, byte [edi]
add esp, 0x14
cmp al, 0x2b
je 0x1000bfb9
cmp al, 0x2d
mov dword [esp + 0x1c], ebp
jne 0x1000bfc1
mov dword [esp + 0x1c], 1
call fcn.1004031f
mov eax, dword [eax]
mov ebp, dword [esp + 0xc0]
mov cl, byte [eax]
push ebp
push 0x65
push edi
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0
call fcn.10040350
movsx edx, byte [esp + 0x2c]
push ebp
push edx
push edi
mov ebx, eax
call fcn.10040350
add esp, 0x18
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1000c009
mov dword [esp + 0xbc], eax
mov edx, dword [esp + 0x7c]
cmp edx, 0x10
mov eax, dword [esp + 0x68]
mov ecx, eax
jae 0x1000c01c
lea ecx, [esp + 0x68]
cmp byte [ecx], 0x7f
je 0x1000c17b
cmp edx, 0x10
jae 0x1000c02e
lea eax, [esp + 0x68]
cmp byte [eax], 0
jle 0x1000c17b
push ebp
push edi
lea ecx, [esp + 0x50]
call fcn.1000b260
test ebx, ebx
jne 0x1000c062
mov eax, dword [esp + 0xbc]
push 0x30
push eax
lea ecx, [esp + 0x50]
call fcn.1000af50
mov ebp, dword [esp + 0xb4]
jmp 0x1000c09d
cmp dword [esp + 0x14], 0
jne 0x1000c080
mov ecx, dword [esp + 0xb4]
push 0x30
push ecx
lea ecx, [esp + 0x50]
call fcn.1000af50
xor ebp, ebp
jmp 0x1000c087
mov ebp, dword [esp + 0xb4]
mov edx, dword [esp + 0xbc]
push 0x30
push edx
sub ebx, edi
push ebx
lea ecx, [esp + 0x54]
call fcn.1000b000
mov ebx, dword [esp + 0x14]
test ebx, ebx
push 0x30
jne 0x1000c0b3
push ebp
lea ecx, [esp + 0x50]
call fcn.1000af50
jmp 0x1000c0e2
mov eax, dword [esp + 0xbc]
sub ebx, edi
push eax
lea ecx, [ebx + 1]
push ecx
lea ecx, [esp + 0x54]
call fcn.1000b000
push 0x30
push ebp
push ebx
lea ecx, [esp + 0x54]
call fcn.1000b000
mov dword [esp + 0xb8], 0
cmp dword [esp + 0x7c], 0x10
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xb4], 0
jae 0x1000c0fc
lea ebx, [esp + 0x68]
mov eax, dword [esp + 0x4c]
mov ebp, 0x10
cmp dword [esp + 0x60], ebp
jae 0x1000c10f
lea eax, [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.10040400
mov edi, eax
mov al, byte [ebx]
add esp, 8
cmp al, 0x7f
je 0x1000c155
test al, al
jle 0x1000c155
mov ecx, edi
sub ecx, dword [esp + 0x1c]
movsx eax, al
cmp eax, ecx
jae 0x1000c155
push 0
sub edi, eax
push 1
push edi
lea ecx, [esp + 0x54]
call fcn.1000b000
cmp byte [ebx + 1], 0
jle 0x1000c14f
add ebx, 1
mov al, byte [ebx]
cmp al, 0x7f
jne 0x1000c125
cmp dword [esp + 0x60], ebp
mov edi, dword [esp + 0x4c]
jae 0x1000c163
lea edi, [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], edx
mov ebp, edx
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x28]
add eax, ecx
add eax, dword [esp + 0xbc]
mov ecx, dword [edx + 0x18]
add eax, ebp
test ecx, ecx
jle 0x1000c1ab
cmp ecx, eax
jbe 0x1000c1ab
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x1000c1b3
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x1000c2c4
cmp eax, 0x100
je 0x1000c224
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0xa4]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 4], edx
lea edx, [esp + 0x44]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.1000ac70
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
add esp, 0x1c
mov dword [esp + 0xa4], eax
mov dword [esp + 0x14], 0
jmp 0x1000c2d2
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0xa0]
jbe 0x1000c275
mov ecx, dword [esp + 0x9c]
push 1
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 4], edx
lea edx, [esp + 0x44]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.1000acf0
mov ebx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
add esp, 0x1c
add edi, 1
sub ebp, 1
mov dword [esp + 0xc0], ebp
jmp 0x1000c283
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0xb0]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.1000ac70
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
add esp, 0x1c
mov dword [esp + 0xa4], edx
mov dword [esp + 0x14], 0
jmp 0x1000c2d2
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0xc0]
movsx ecx, byte [esp + 0x20]
push eax
push ecx
push edi
call fcn.10040350
add esp, 0xc
test eax, eax
je 0x1000c3e4
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa4]
sub eax, edi
add eax, 1
push edx
mov dword [esp + 0x20], eax
add eax, 0xffffffff
push eax
push edi
sub esp, 0xc
mov eax, esp
lea edx, [esp + 0x48]
mov dword [eax], ebp
push edx
mov dword [eax + 4], ebx
push esi
mov dword [eax + 8], ecx
call fcn.1000adc0
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x44]
add esp, 0x20
push ecx
push edx
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.1000ac70
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x48]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [ecx]
mov dword [esp + 0xc0], edx
mov edx, dword [eax + 4]
add esp, 0x1c
call edx
mov ecx, dword [esp + 0xa4]
movzx eax, ax
push 1
push eax
sub esp, 0xc
mov eax, esp
lea edx, [esp + 0x44]
mov dword [eax], ebx
push edx
mov dword [eax + 4], ebp
push esi
mov dword [eax + 8], ecx
call fcn.1000ac70
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x40]
add esp, 0x1c
push ecx
push edx
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.1000ac70
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0xa4], edx
add edi, eax
sub dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
push eax
push 0x65
push edi
call fcn.10040350
add esp, 0xc
test eax, eax
je 0x1000c4c0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xa4]
sub eax, edi
add eax, 1
push ecx
mov dword [esp + 0x30], eax
add eax, 0xffffffff
push eax
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
lea eax, [esp + 0x48]
push eax
push esi
call fcn.1000adc0
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x44]
add esp, 0x20
push ecx
push edx
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.1000ac70
mov edx, dword [esp + 0x44]
add esp, 0x1c
test byte [edx + 0x10], 4
mov dword [esp + 0xbc], 0
mov ecx, 0x1005df58
jne 0x1000c483
mov ecx, 0x1005df54
mov edx, dword [eax]
push 1
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.1000acf0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x48]
add esp, 0x1c
add edi, eax
sub dword [esp + 0xc0], eax
jmp 0x1000c4c7
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc0]
push edx
push eax
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.1000adc0
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0x44]
add esp, 0x20
push edx
mov edx, dword [eax]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.1000ac70
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x44]
add esp, 0x1c
xor ebx, ebx
mov dword [ecx + 0x18], ebx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xb0]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x54]
push edi
push esi
mov dword [ecx + 8], eax
call fcn.1000ac70
add esp, 0x1c
mov byte [esp + 0x8c], 1
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x1000c579
mov edx, dword [esp + 0x4c]
push edx
call fcn.1003fa16
add esp, 4
mov ebp, 0xf
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x7c], esi
jb 0x1000c5a9
mov eax, dword [esp + 0x68]
push eax
call fcn.1003fa16
add esp, 4
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], 0
mov eax, edi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1003f012
add esp, 0x7c
ret