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

Disassembly:
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x58]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [esi + 8]
xor ebx, ebx
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x34]
push ebx
mov dword [esp + 0x30], eax
push ebx
push 0x21
mov eax, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call fcn.100396f0
add esp, 0x10
test eax, eax
jne 0x10059593
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x6c]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea eax, [ecx - 1]
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], ecx
test ecx, eax
jne 0x10058fda
mov eax, dword [edx + 0x70]
mov esi, dword [edx]
lea ecx, [ecx*8 + 4]
push ebx
push ecx
call fcn.100322e0
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
add esp, 8
mov dword [edx + 0x70], eax
mov edx, dword [edx + 0x70]
cmp edx, ebx
je 0x10058fe8
mov dword [edx + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
push eax
mov dword [esp + 0x20], eax
push ebp
mov eax, esi
call fcn.10042240
mov ecx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx]
mov dword [esp + 0x40], eax
add esp, 8
xor eax, eax
cmp ecx, ebx
jle 0x10059061
add edx, 0x30
jmp 0x10059040
test byte [edx], 8
jne 0x1005904f
inc eax
add edx, 0x50
cmp eax, ecx
jl 0x10059040
jmp 0x10059061
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x24]
shl edx, 4
mov ecx, dword [edx + eax + 0x38]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x60], ecx
inc ecx
mov dword [esi + 0x44], ecx
xor eax, eax
cmp byte [ebp + 4], 0x73
jne 0x10059089
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x20], ecx
setne al
inc ecx
mov dword [esi + 0x44], ecx
lea eax, [eax + eax + 6]
jmp 0x10059094
cmp dword [esp + 0x14], ebx
setne al
lea eax, [eax + eax + 5]
inc dword [esi + 0x48]
mov edx, dword [esp + 0x60]
mov byte [esp + 0x44], al
mov eax, dword [esi + 0x48]
mov dword [esp + 0x48], edx
mov byte [esp + 0x45], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x20]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x34], eax
jg 0x100590d6
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10059103
mov eax, dword [esp + 0x34]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x14], ebx
je 0x100591ea
push ebp
push esi
call fcn.100556a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x18]
add ecx, 2
add esp, 8
cmp dword [eax + 0x54], esi
mov dword [esp + 0x34], ecx
jg 0x1005914b
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x10059147
mov esi, 1
jmp 0x10059170
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
mov byte [eax], 0x39
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, esi
cmp ecx, ebx
je 0x100591ce
cmp byte [edx + 0x41], bl
jne 0x100591ce
cmp esi, ebx
jge 0x10059188
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.1003a090
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x100591b9
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x54], ecx
jmp 0x10059233
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x54], ecx
jmp 0x10059233
mov ecx, dword [esp + 0x2c]
mov eax, 0xfffffffa
call fcn.1003a090
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x54], ecx
jmp 0x10059233
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x34], eax
jg 0x1005920a
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10059233
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x60]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x39
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x20], ebx
je 0x1005928d
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], ecx
mov dword [esp + 0x34], ecx
jg 0x10059260
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x1005925c
mov ecx, 1
jmp 0x10059285
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x20]
mov byte [eax], 0x39
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
or word [ebp + 6], 8
mov dword [ebp + 0x10], ecx
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
push ecx
push eax
mov dword [ebp + 0x30], ebx
push esi
mov dword [eax + 0x38], ebx
call fcn.10075680
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [edx + 0x38], ebp
cmp eax, ebx
jne 0x1005956f
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x100592d7
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x100592d7
mov dword [esp + 0x2c], 1
jmp 0x10059304
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x6c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1005931c
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10059341
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x68
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x14]
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp eax, ebx
je 0x10059387
mov ecx, dword [eax]
inc ecx
cmp dword [edx + 0x54], esi
mov dword [esp + 0x34], ecx
jg 0x1005936c
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100593c2
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x2f
mov dword [eax + 0xc], ecx
jmp 0x100593b2
cmp dword [edx + 0x54], esi
jg 0x10059399
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100593c2
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x66
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov edx, dword [esp + 0x60]
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 4], edx
mov byte [eax + 3], bl
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x100593da
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100593ff
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x60]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x5f
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x34], eax
test eax, edx
jne 0x1005943b
mov esi, dword [ecx]
lea eax, [eax*8 + 4]
push ebx
push eax
mov eax, dword [ecx + 0x70]
call fcn.100322e0
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [ecx + 0x70]
cmp ecx, ebx
je 0x10059449
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [esp + 0x38]
or esi, 0xffffffff
sub esi, eax
push esi
push edx
mov eax, edi
call fcn.1003c580
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [ebp]
push esi
push ecx
push ebx
push ebx
mov ebx, dword [esp + 0x78]
push edx
push eax
push ebp
call fcn.10055890
xor ebx, ebx
add esp, 0x28
cmp dword [esp + 0x30], ebx
je 0x100594d3
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x60], eax
jg 0x100594a6
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100594d3
mov eax, dword [esp + 0x60]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x8b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, esi
js 0x100594ea
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x100594ea
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [edi + 0x20]
mov edx, dword [esp + 0x5c]
dec eax
mov dword [ecx + 0x58], eax
lea ecx, [esp + 0x44]
push ecx
push ebp
push edx
mov dword [ebp + 0x34], ebx
call fcn.10075680
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x34], eax
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
add esp, 0xc
cmp dword [ecx + 0x54], esi
jg 0x10059526
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x1005954b
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x1c]
js 0x10059564
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x10059564
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [edi + 0x20]
mov esi, dword [esp + 0x5c]
dec edx
mov dword [ecx + 0x58], edx
mov eax, dword [ebp + 0x30]
mov ecx, dword [esi]
push eax
push ecx
call fcn.10036490
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add esp, 8
mov dword [ebp + 0x30], edx
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret