Function at 0x558110
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x59170e
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x60], 0
mov cl, 0x20
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
call fcn.00580120
mov ebx, eax
lea eax, [esp + 0x1b]
mov ecx, ebx
shr ecx, 0x18
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x24]
push eax
call fcn.004b4590
mov ecx, ebx
lea eax, [esp + 0x1b]
shr ecx, 0x10
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x24]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], bl
push eax
lea ecx, [esp + 0x28]
call fcn.004b4590
mov ebx, dword [esi + 8]
lea ecx, [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 0x10
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], bl
push eax
lea ecx, [esp + 0x28]
call fcn.004b4590
mov eax, dword [esi]
mov cl, 0x20
mov edx, dword [esi + 4]
call fcn.00580120
mov ebx, eax
lea eax, [esp + 0x1b]
mov ecx, ebx
shr ecx, 0x18
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x24]
push eax
call fcn.004b4590
mov ecx, ebx
shr ecx, 0x10
mov byte [esp + 0x1b], cl
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x28]
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], bl
push eax
lea ecx, [esp + 0x28]
call fcn.004b4590
mov ebx, dword [esi]
lea ecx, [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 0x10
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], bl
push eax
lea ecx, [esp + 0x28]
call fcn.004b4590
mov eax, dword [esi + 0x10]
mov cl, 0x20
mov edx, dword [esi + 0x14]
call fcn.00580120
mov ebx, eax
lea eax, [esp + 0x1b]
mov ecx, ebx
shr ecx, 0x18
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x24]
push eax
call fcn.004b4590
mov ecx, ebx
lea eax, [esp + 0x1b]
shr ecx, 0x10
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x24]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], bl
push eax
lea ecx, [esp + 0x28]
call fcn.004b4590
mov ebx, dword [esi + 0x10]
lea ecx, [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 0x10
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, ebx
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], bl
push eax
lea ecx, [esp + 0x28]
call fcn.004b4590
mov al, byte [esi + 0x1b]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x1a]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x18]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x1f]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x1e]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x1c]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x23]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x22]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x24]
shr eax, 8
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov al, byte [esi + 0x20]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push eax
call fcn.004b4590
mov edi, dword [esp + 0x2c]
lea ebp, [esi + 0x24]
mov ebx, dword [esp + 0x24]
mov edx, 0xffffffdc
sub edx, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x30], edx
cmp ebp, esi
jae 0x558559
cmp ebx, ebp
ja 0x558559
mov ecx, ebp
sub ecx, ebx
mov dword [esp + 0x1c], ecx
cmp esi, edi
jne 0x55853c
mov eax, edi
sub eax, esi
cmp eax, 1
jae 0x55853c
mov eax, ebx
sub eax, esi
dec eax
cmp eax, 1
jb 0x55861d
sub edi, ebx
or eax, 0xffffffff
mov ecx, edi
sub esi, ebx
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, edi
jae 0x558517
xor edi, edi
jmp 0x558519
add edi, ecx
cmp edi, esi
lea ecx, [esp + 0x24]
cmovb edi, esi
push edi
call fcn.0042a950
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x60], 1
test esi, esi
je 0x558552
mov al, byte [ebx + ecx]
mov byte [esi], al
mov byte [esp + 0x60], 0
jmp 0x5585b4
cmp esi, edi
jne 0x5585ab
mov eax, edi
sub eax, esi
cmp eax, 1
jae 0x5585ab
mov eax, ebx
sub eax, esi
dec eax
cmp eax, 1
jb 0x55861d
sub edi, ebx
or eax, 0xffffffff
mov ecx, edi
sub esi, ebx
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, edi
jae 0x55858a
xor edi, edi
jmp 0x55858c
add edi, ecx
cmp edi, esi
lea ecx, [esp + 0x24]
cmovb edi, esi
push edi
call fcn.0042a950
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
test esi, esi
je 0x5585b4
mov al, byte [ebp]
mov byte [esi], al
inc ebp
inc esi
mov dword [esp + 0x28], esi
lea eax, [edx + ebp]
cmp eax, 0x10
jb 0x5584d6
mov eax, dword [esp + 0x20]
mov edx, 0xffffffcc
sub edx, eax
mov dword [esp + 0x30], edx
lea ebp, [eax + 0x34]
cmp ebp, esi
jae 0x558669
cmp ebx, ebp
ja 0x558669
mov ecx, ebp
sub ecx, ebx
mov dword [esp + 0x1c], ecx
cmp esi, edi
jne 0x55864c
mov eax, edi
sub eax, esi
cmp eax, 1
jae 0x55864c
mov eax, ebx
sub eax, esi
dec eax
cmp eax, 1
jb 0x55861d
sub edi, ebx
or eax, 0xffffffff
mov ecx, edi
sub esi, ebx
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, edi
jae 0x558627
xor edi, edi
jmp 0x558629
push str.vector_T__too_long
call fcn.00560df3
add edi, ecx
cmp edi, esi
lea ecx, [esp + 0x24]
cmovb edi, esi
push edi
call fcn.0042a950
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x60], 2
test esi, esi
je 0x558662
mov al, byte [ecx + ebx]
mov byte [esi], al
mov byte [esp + 0x60], 0
jmp 0x5586c0
cmp esi, edi
jne 0x5586b7
mov eax, edi
sub eax, esi
cmp eax, 1
jae 0x5586b7
mov eax, ebx
sub eax, esi
dec eax
cmp eax, 1
jb 0x55861d
sub edi, ebx
or eax, 0xffffffff
mov ecx, edi
sub esi, ebx
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, edi
jae 0x558696
xor edi, edi
jmp 0x558698
add edi, ecx
cmp edi, esi
lea ecx, [esp + 0x24]
cmovb edi, esi
push edi
call fcn.0042a950
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
test esi, esi
je 0x5586c0
mov al, byte [ebp]
mov byte [esi], al
inc ebp
inc esi
mov dword [esp + 0x28], esi
lea eax, [edx + ebp]
cmp eax, 0x40
jb 0x5585d8
mov eax, esi
sub eax, ebx
push 0x5c
mov dword [esp + 0x20], eax
call fcn.0056590a
push 0x5c
mov ebp, eax
push 0
push ebp
mov dword [esp + 0x40], ebp
call fcn.0056cbb0
mov byte [esp + 0x70], 3
push ebp
call fcn.00585ea0
add esp, 0x14
test ebx, ebx
je 0x558716
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x558716
push eax
push ebx
push ebp
call fcn.00585ee0
add esp, 0xc
mov ebp, dword [esp + 0x20]
push dword [esp + 0x30]
add ebp, 0x74
push ebp
call fcn.00585d80
add esp, 8
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x558748
push eax
call fcn.00564de3
add esp, 4
mov dword [esp + 0x30], 0
mov edx, 0xffffff8c
sub edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
cmp ebp, esi
jae 0x5587d8
cmp ebx, ebp
ja 0x5587d8
mov ecx, ebp
sub ecx, ebx
mov dword [esp + 0x1c], ecx
cmp esi, edi
jne 0x5587bb
mov eax, edi
sub eax, esi
cmp eax, 1
jae 0x5587bb
mov eax, ebx
sub eax, esi
dec eax
cmp eax, 1
jb 0x55861d
sub edi, ebx
or eax, 0xffffffff
mov ecx, edi
sub esi, ebx
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, edi
jae 0x558796
xor edi, edi
jmp 0x558798
add edi, ecx
cmp edi, esi
lea ecx, [esp + 0x24]
cmovb edi, esi
push edi
call fcn.0042a950
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x60], 4
test esi, esi
je 0x5587d1
mov al, byte [ecx + ebx]
mov byte [esi], al
mov byte [esp + 0x60], 0
jmp 0x558833
cmp esi, edi
jne 0x55882a
mov eax, edi
sub eax, esi
cmp eax, 1
jae 0x55882a
mov eax, ebx
sub eax, esi
dec eax
cmp eax, 1
jb 0x55861d
sub edi, ebx
or eax, 0xffffffff
mov ecx, edi
sub esi, ebx
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, edi
jae 0x558809
xor edi, edi
jmp 0x55880b
add edi, ecx
cmp edi, esi
lea ecx, [esp + 0x24]
cmovb edi, esi
push edi
call fcn.0042a950
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
test esi, esi
je 0x558833
mov al, byte [ebp]
mov byte [esi], al
inc ebp
inc esi
mov dword [esp + 0x28], esi
lea eax, [edx + ebp]
cmp eax, 0x10
jb 0x558755
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
call fcn.004cf8d0
mov byte [esp + 0x60], 5
cmp dword [esp + 0x4c], 0
jne 0x558869
mov byte [esp + 0x1b], 0
jmp 0x55891e
push 0x58
call fcn.0056590a
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
mov byte [esp + 0x60], 6
test edi, edi
je 0x55889a
push 0x58
push 0
push edi
call fcn.0056cbb0
add esp, 8
mov ecx, edi
call fcn.0050eaa0
mov ebp, eax
jmp 0x55889c
xor ebp, ebp
mov byte [esp + 0x60], 5
test ebp, ebp
je 0x5588aa
lea edi, [ebp + 0xc]
jmp 0x5588ac
xor edi, edi
mov dword [esp + 0x34], edi
test edi, edi
je 0x5588bb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [esp + 0x60], 7
lea ecx, [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 1
push edx
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x558909
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov eax, dword [edi]
sub esi, ebx
push ecx
push esi
push ebx
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
jne 0x558909
cmp dword [esp + 0x38], esi
jne 0x558909
mov eax, dword [esp + 0x20]
mov byte [esp + 0x1b], 1
mov byte [eax + 0x9c], 0
jmp 0x55890e
mov byte [esp + 0x1b], 0
mov byte [esp + 0x60], 5
test edi, edi
je 0x55891e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x60], 0
cmp dword [esp + 0x50], 8
jb 0x558936
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0x60], 0xffffffff
test ebx, ebx
je 0x55897a
push ebx
call fcn.00564de3
add esp, 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00564de8
add esp, 0x50
ret