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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10346d88
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ecx
call fcn.10002140
xor ebx, ebx
push eax
mov dword [esp + 0x94], ebx
call fcn.10007010
mov esi, eax
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x90], 0xffffffff
call fcn.100018b0
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.10006450
mov dword [esp + 0x90], 1
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x30], al
mov dword [esp + 0x40], ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x90], 2
mov al, byte [edi]
cmp al, 0x2b
je 0x100053ff
mov dword [esp + 0x1c], ebx
cmp al, 0x2d
jne 0x10005407
mov dword [esp + 0x1c], 1
call fcn.1025a070
mov ecx, dword [eax]
mov ebx, dword [ebp + 0x30]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0
call fcn.10259fc0
add esp, 0xc
mov esi, eax
movsx eax, byte [esp + 0x18]
push ebx
push eax
push edi
call fcn.10259fc0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000544a
mov dword [ebp + 0x2c], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x68]
mov eax, edx
cmp ecx, 0x10
jae 0x1000545d
lea eax, [esp + 0x68]
cmp byte [eax], 0x7f
je 0x1000558b
mov eax, edx
cmp ecx, 0x10
jae 0x10005471
lea eax, [esp + 0x68]
cmp byte [eax], 0
jle 0x1000558b
push ebx
push edi
lea ecx, [esp + 0x48]
call fcn.10005dd0
test esi, esi
jne 0x1000549e
mov ecx, dword [ebp + 0x2c]
push 0x30
push ecx
lea ecx, [esp + 0x48]
call fcn.10005f00
mov ebx, dword [esp + 0x14]
jmp 0x100054ca
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x100054b8
mov edx, dword [ebp + 0x24]
push 0x30
push edx
lea ecx, [esp + 0x48]
call fcn.10005f00
mov dword [ebp + 0x24], ebx
mov eax, dword [ebp + 0x2c]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x4c]
call fcn.10005fb0
push 0x30
test ebx, ebx
jne 0x100054df
mov ecx, dword [ebp + 0x24]
push ecx
lea ecx, [esp + 0x48]
call fcn.10005f00
jmp 0x10005509
mov edx, dword [ebp + 0x28]
sub ebx, edi
push edx
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x4c]
call fcn.10005fb0
mov ecx, dword [ebp + 0x24]
push 0x30
push ecx
push ebx
lea ecx, [esp + 0x4c]
call fcn.10005fb0
mov dword [ebp + 0x28], 0
cmp dword [esp + 0x7c], 0x10
mov ebx, dword [esp + 0x68]
mov dword [ebp + 0x24], 0
jae 0x1000551f
lea ebx, [esp + 0x68]
lea edx, [esp + 0x18]
push edx
push 0
lea ecx, [esp + 0x48]
call fcn.100060b0
push eax
call fcn.1025ae20
mov edi, eax
mov al, byte [ebx]
add esp, 8
cmp al, 0x7f
je 0x1000556e
test al, al
jle 0x1000556e
mov ecx, edi
sub ecx, dword [esp + 0x1c]
movsx eax, al
cmp eax, ecx
jae 0x1000556e
push 0
sub edi, eax
push 1
push edi
lea ecx, [esp + 0x4c]
call fcn.10005fb0
cmp byte [ebx + 1], 0
jle 0x10005568
inc ebx
mov al, byte [ebx]
cmp al, 0x7f
jne 0x10005540
push 0
lea ecx, [esp + 0x44]
call fcn.100060b0
mov edx, dword [esp + 0x58]
mov edi, eax
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], edx
mov ebx, edx
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x2c]
add eax, ecx
add eax, dword [ebp + 0x2c]
mov ecx, dword [edx + 0x18]
add eax, ebx
test ecx, ecx
jle 0x100055af
cmp ecx, eax
jbe 0x100055af
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x100055b7
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0x10]
mov esi, dword [ebp + 8]
and eax, 0x1c0
cmp eax, 0x40
je 0x1000565d
cmp eax, 0x100
je 0x100055fb
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.10005c40
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x14], edx
jmp 0x10005652
cmp dword [esp + 0x1c], 0
jbe 0x1000562b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 1
push edi
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.100062f0
mov ecx, dword [eax]
add esp, 0x18
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
inc edi
dec ebx
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x30], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.10005c40
mov edx, dword [eax]
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov dword [esp + 0x2c], 0
add esp, 0x18
movsx ecx, byte [esp + 0x18]
push ebx
push ecx
push edi
call fcn.10259fc0
add esp, 0xc
test eax, eax
je 0x1000572d
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x14]
sub eax, edi
inc eax
push edx
mov edx, dword [ebp + 0x10]
mov ebx, eax
lea eax, [ebx - 1]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.10006360
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x24]
add esp, 0x1c
push ecx
mov dword [ebp + 0x14], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0x30
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.10005c40
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0x18
call eax
mov edx, dword [ebp + 0x14]
push 1
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.10005c40
mov edx, dword [eax]
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x28]
push edx
mov dword [ebp + 0x14], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.10005c40
mov ecx, dword [eax]
add edi, ebx
add esp, 0x30
sub dword [ebp + 0x30], ebx
mov ebx, dword [ebp + 0x30]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x14], edx
push ebx
push 0x65
push edi
call fcn.10259fc0
add esp, 0xc
test eax, eax
je 0x100057dd
mov edx, dword [ebp + 0x14]
sub eax, edi
inc eax
mov ebx, eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebx - 1]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.10006360
mov edx, dword [eax]
add esp, 0x1c
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x2c]
push edx
mov dword [ebp + 0x14], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.10005c40
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 4]
add esp, 0x18
test byte [ecx + 0x10], 4
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x2c], 0
mov ecx, 0x104c3488
jne 0x100057b2
mov ecx, 0x104c348c
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.100062f0
mov edx, dword [eax]
add edi, ebx
add esp, 0x18
sub dword [ebp + 0x30], ebx
mov ebx, dword [ebp + 0x30]
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push edi
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.10006360
mov edx, dword [eax]
add esp, 0x1c
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x2c]
push edx
mov dword [ebp + 0x14], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x40]
push eax
push esi
call fcn.10005c40
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x18], ebx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [ebp + 0x1c]
push edx
push eax
push ecx
push edi
push esi
mov dword [ebp + 0x14], eax
call fcn.10005c40
mov esi, 0x10
add esp, 0x30
mov byte [esp + 0x90], 1
cmp dword [esp + 0x5c], esi
jb 0x1000586a
mov eax, dword [esp + 0x48]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
call fcn.10001370
mov dword [esp + 0x90], 0xffffffff
cmp dword [esp + 0x7c], esi
jb 0x100058a2
mov ecx, dword [esp + 0x68]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], 0
call fcn.10001370
mov eax, edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret