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

Disassembly:
push 0xffffffffffffffff
push 0x100e1510
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1010bb90]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, byte [edi + 0x24]
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x3c], edi
mov esi, edx
call fcn.1005c090
xor ebp, ebp
mov dword [esp + 0x70], ebp
call fcn.100544f0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x78], 1
call fcn.10060540
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10060d70
mov eax, dword [edi + 8]
xor bl, bl
cmp eax, ebp
je 0x10058fea
lea edx, [esp + 0x44]
push edx
push esi
call fcn.10060ce0
test al, al
jne 0x10058fe8
lea esi, [esp + 0x28]
call fcn.1001aaa0
cmp dword [esp + 0x60], 0x10
jb 0x10058fe0
mov eax, dword [esp + 0x4c]
push eax
call fcn.100c14d4
add esp, 4
or eax, 0xffffffff
jmp 0x10059323
mov bl, 1
mov edi, dword [esp + 0x2c]
mov ebp, dword [edi]
mov dword [esp + 0x14], ebp
cmp ebp, edi
je 0x100592e8
cmp dword [ebp + 0xc], 0
je 0x10059036
test bl, bl
je 0x10059022
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3968
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3968
mov ecx, esi
call eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.10060ce0
test al, al
je 0x10058fc3
jmp 0x10059056
test bl, bl
je 0x10059056
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3968
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3968
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
cmp word [ecx], 0
je 0x100590b6
mov edx, ecx
push edx
lea edi, [esp + 0x48]
call fcn.1005c130
test al, al
je 0x10059342
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x100f3394
mov ecx, esi
call edx
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x10059090
lea eax, [esp + 0x4c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3398
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3968
mov ecx, esi
call eax
call fcn.100544f0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x74], 2
mov eax, dword [ebp + 8]
push edx
call fcn.10060600
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.10060d70
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
cmp eax, ecx
je 0x1005928e
nop
call fcn.100544f0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov byte [esp + 0x70], 3
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
lea eax, [esp + 0x44]
call fcn.10060700
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x10059240
cmp dword [ebp + 0xc], 0
je 0x1005916c
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3968
mov ecx, esi
call eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.10060ce0
test al, al
je 0x10059368
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
push eax
lea edi, [esp + 0x48]
call fcn.1005c130
test al, al
je 0x1005940a
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x10059194
lea eax, [esp + 0x4c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
push ecx
lea edi, [esp + 0x48]
call fcn.1005c130
test al, al
je 0x1005948f
mov edi, dword [esp + 0x34]
cmp byte [edi + 0x27], 0
mov eax, 0x100f3b48
jne 0x100591c7
mov eax, 0x100f3b4c
mov edx, dword [esi]
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
cmp byte [edi + 0x26], 0
je 0x1005920e
mov ecx, dword [ebp + 8]
call fcn.10060c80
test al, al
je 0x1005920e
mov edx, dword [esi]
mov eax, dword [edx + 4]
push str.___END_OF_TEXT_r_n
mov ecx, esi
call eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.10060ce0
test al, al
je 0x1005953a
push str.END_OF_TEXT
jmp 0x1005921e
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x1005921d
lea eax, [esp + 0x4c]
push eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x100f3968
mov ecx, esi
call eax
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x10059142
mov byte [esp + 0x70], 2
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [esp + 0x40], 0
cmp eax, ebx
je 0x10059269
mov edi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x10059258
push ebx
call fcn.100c14d4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
add esp, 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jne 0x10059100
mov bl, 1
mov byte [esp + 0x70], bl
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [esp + 0x24], 0
cmp eax, edi
je 0x100592c1
jmp 0x100592b0
mov ebp, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, ebp
cmp ebp, edi
jne 0x100592b0
push edi
call fcn.100c14d4
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
mov edi, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], ebp
cmp ebp, edi
jne 0x10058ffc
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x10059304
mov esi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x100592f3
push edi
call fcn.100c14d4
add esp, 4
cmp dword [esp + 0x60], 0x10
jb 0x10059321
mov eax, dword [esp + 0x4c]
push eax
call fcn.100c14d4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.100bfcbc
add esp, 0x60
ret
lea esi, [esp + 0x28]
call fcn.1001aaa0
cmp dword [esp + 0x60], 0x10
jb 0x10058fe0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.100c14d4
add esp, 4
or eax, 0xffffffff
jmp 0x10059323
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
cmp eax, ebx
je 0x10059384
mov esi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x10059373
push ebx
call fcn.100c14d4
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
cmp eax, esi
je 0x100593b1
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x100593a0
push esi
call fcn.100c14d4
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
cmp eax, esi
je 0x100593e1
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x100593d0
push esi
call fcn.100c14d4
add esp, 4
cmp dword [esp + 0x60], 0x10
jb 0x10058fe0
mov edx, dword [esp + 0x4c]
push edx
call fcn.100c14d4
add esp, 4
or eax, 0xffffffff
jmp 0x10059323
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
cmp eax, ebx
je 0x10059426
mov esi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x10059415
push ebx
call fcn.100c14d4
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
cmp eax, esi
je 0x10059451
mov edi, edi
mov edi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x10059440
push esi
call fcn.100c14d4
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
cmp eax, esi
je 0x10059481
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x10059470
push esi
call fcn.100c14d4
add esp, 4
jmp 0x10058fcc
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
cmp eax, ebx
je 0x100594b1
lea ebx, [ebx]
mov esi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x100594a0
push ebx
call fcn.100c14d4
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
cmp eax, esi
je 0x100594e1
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x100594d0
push esi
call fcn.100c14d4
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
cmp eax, esi
je 0x10059511
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.100c14d4
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x10059500
push esi
call fcn.100c14d4
add esp, 4
cmp dword [esp + 0x60], 0x10
jb 0x10058fe0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.100c14d4
add esp, 4
or eax, 0xffffffff
jmp 0x10059323
lea esi, [esp + 0x38]
call fcn.1001aaa0
lea esi, [esp + 0x1c]
call fcn.1001aaa0
lea esi, [esp + 0x28]
call fcn.1001aaa0
cmp dword [esp + 0x60], 0x10
jb 0x10058fe0
mov edx, dword [esp + 0x4c]
push edx
call fcn.100c14d4
add esp, 4
or eax, 0xffffffff
jmp 0x10059323