Function at 0x50ba70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b37f5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov byte [edi + 0x30], 0
lea eax, [edi + 0x30]
mov dword [edi + 0x31], 0
mov word [edi + 0x39], 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x35], 0
push 4
mov ebx, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
lea eax, [edi + 0x10]
mov dword [ebp - 0x28], eax
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea eax, [edi + 0x20]
mov dword [ebp + 8], ebx
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
call fcn.0058813f
mov esi, eax
mov dword [ebp - 0x44], 0
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], 3
mov byte [esi], 0
push 4
mov dword [ebp - 4], 0
call fcn.0058813f
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 3
mov byte [eax], 0
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 1
test edi, edi
je 0x50c1bf
nop word [eax + eax]
xor ecx, ecx
cmp ecx, 0x18
ja 0x50c1e9
cmp ecx, edi
jae 0x50c1e9
cmp byte [ecx + ebx], 0x20
je 0x50bb9c
inc ecx
jmp 0x50bb82
test ecx, ecx
je 0x50c1e9
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x1c], ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
movzx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
ja 0x50bbf0
nop dword [eax]
cmp ebx, 0x19999999
ja 0x50bbe8
lea ebx, [ebx + ebx*4]
mov eax, edx
add ebx, ebx
not eax
cmp ebx, eax
ja 0x50bbe8
inc esi
add ebx, edx
mov dword [ebp - 0x14], ebx
movzx edx, byte [esi]
sub edx, 0x30
cmp edx, 9
jbe 0x50bbc0
jmp 0x50bbf0
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp + 8]
sub esi, edx
inc esi
mov dword [ebp - 0x1c], esi
cmp ebx, edi
ja 0x50c1e9
lea eax, [esi + 1]
cmp ebx, eax
jbe 0x50c1e9
lea eax, [ecx + 1]
cmp esi, eax
jne 0x50c1e9
cmp byte [ebx + edx - 1], 0xa
lea eax, [ebx + edx]
mov dword [ebp - 0x30], eax
jne 0x50c1e9
mov eax, esi
cmp esi, ebx
jae 0x50bc3f
nop
cmp byte [eax + edx], 0
je 0x50c1e9
inc eax
cmp eax, ebx
jb 0x50bc30
lea eax, [ebx - 1]
mov edi, esi
cmp esi, eax
jae 0x50bc53
cmp byte [edi + edx], 0x3d
je 0x50bc5b
inc edi
cmp edi, eax
jb 0x50bc48
cmp edi, eax
je 0x50c1e9
mov ebx, edi
sub ebx, esi
cmp ebx, dword [ebp - 0x40]
jbe 0x50bc95
cmp ebx, 0x3ffffffe
ja 0x50c1f3
lea eax, [ebx + 1]
push eax
call fcn.0058813f
add esp, 4
mov esi, eax
push dword [ebp - 0x48]
call fcn.00588148
mov edx, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ebx
test ebx, ebx
je 0x50bcac
lea eax, [esi + edx]
mov esi, dword [ebp - 0x48]
push ebx
push eax
push esi
call fcn.0058aed0
add esp, 0xc
jmp 0x50bcaf
mov esi, dword [ebp - 0x48]
mov byte [esi + ebx], 0
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x14]
sub ebx, edi
sub ebx, 2
cmp ebx, dword [ebp - 0x34]
jbe 0x50bcf5
cmp ebx, 0x3ffffffe
ja 0x50c1f3
lea eax, [ebx + 1]
push eax
call fcn.0058813f
add esp, 4
mov esi, eax
push dword [ebp - 0x3c]
call fcn.00588148
mov ecx, esi
mov dword [ebp - 0x34], ebx
mov esi, dword [ebp - 0x48]
add esp, 4
mov dword [ebp - 0x3c], ecx
jmp 0x50bcf8
mov ecx, dword [ebp - 0x3c]
test ebx, ebx
je 0x50bd0d
mov eax, dword [ebp + 8]
inc eax
push ebx
add eax, edi
push eax
push ecx
call fcn.0058aed0
add esp, 0xc
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
mov byte [edi + ebx], 0
je 0x50c14c
mov ecx, str.path
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50bd48
test dl, dl
je 0x50bd44
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50bd48
add eax, 2
add ecx, 2
test dl, dl
jne 0x50bd28
xor eax, eax
jmp 0x50bd4d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50bd72
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0x36], al
je 0x50bd5d
mov byte [edi + 0x30], 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x50]
call fcn.0046cb10
mov byte [edi + 0x36], 1
jmp 0x50c1a4
mov ecx, str.linkpath
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50bda0
test dl, dl
je 0x50bd9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50bda0
add eax, 2
add ecx, 2
test dl, dl
jne 0x50bd80
xor eax, eax
jmp 0x50bda5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50bdca
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0x37], al
je 0x50bdb5
mov byte [edi + 0x30], 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x5c]
call fcn.0046cb10
mov byte [edi + 0x37], 1
jmp 0x50c1a4
mov ecx, str.uname
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50bdf1
test dl, dl
je 0x50bded
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50bdf1
add eax, 2
add ecx, 2
test dl, dl
jne 0x50bdd1
xor eax, eax
jmp 0x50bdf6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50be1b
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0x38], al
je 0x50be06
mov byte [edi + 0x30], 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x68]
call fcn.0046cb10
mov byte [edi + 0x38], 1
jmp 0x50c1a4
mov ecx, str.gname
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50be42
test dl, dl
je 0x50be3e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50be42
add eax, 2
add ecx, 2
test dl, dl
jne 0x50be22
xor eax, eax
jmp 0x50be47
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50be6c
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0x39], al
je 0x50be57
mov byte [edi + 0x30], 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x74]
call fcn.0046cb10
mov byte [edi + 0x39], 1
jmp 0x50c1a4
mov ecx, 0x5d0b28
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50be93
test dl, dl
je 0x50be8f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50be93
add eax, 2
add ecx, 2
test dl, dl
jne 0x50be73
xor eax, eax
jmp 0x50be98
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50bf0e
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x34], 0
je 0x50beab
mov eax, dword [ebp - 0x18]
mov byte [eax], 1
test ebx, ebx
jne 0x50beb6
xor al, al
jmp 0x50c0ea
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov esi, edi
movzx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
ja 0x50beeb
cmp ecx, 0x19999999
ja 0x50beff
lea ecx, [ecx + ecx*4]
mov eax, edx
add ecx, ecx
not eax
cmp ecx, eax
ja 0x50beff
inc esi
add ecx, edx
movzx edx, byte [esi]
sub edx, 0x30
cmp edx, 9
jbe 0x50bec8
mov edi, esi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x48], ecx
cmp byte [edi], 0
je 0x50bf03
xor al, al
jmp 0x50c0ea
xor ecx, ecx
jmp 0x50beed
mov byte [eax + 0x34], 1
mov al, 1
jmp 0x50c0ea
mov ecx, 0x5d0b2c
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50bf35
test dl, dl
je 0x50bf31
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50bf35
add eax, 2
add ecx, 2
test dl, dl
jne 0x50bf15
xor eax, eax
jmp 0x50bf3a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50bfb6
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x35], 0
je 0x50bf4d
mov eax, dword [ebp - 0x18]
mov byte [eax], 1
test ebx, ebx
jne 0x50bf58
xor al, al
jmp 0x50c0ea
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov esi, edi
movzx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
ja 0x50bf93
nop word [eax + eax]
cmp ecx, 0x19999999
ja 0x50bfa7
lea ecx, [ecx + ecx*4]
mov eax, edx
add ecx, ecx
not eax
cmp ecx, eax
ja 0x50bfa7
inc esi
add ecx, edx
movzx edx, byte [esi]
sub edx, 0x30
cmp edx, 9
jbe 0x50bf70
mov edi, esi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], ecx
cmp byte [edi], 0
je 0x50bfab
xor al, al
jmp 0x50c0ea
xor ecx, ecx
jmp 0x50bf95
mov byte [eax + 0x35], 1
mov al, 1
jmp 0x50c0ea
mov ecx, str.size
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50bfe0
test dl, dl
je 0x50bfdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50bfe0
add eax, 2
add ecx, 2
test dl, dl
jne 0x50bfc0
xor eax, eax
jmp 0x50bfe5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50c027
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0x33], al
je 0x50bff5
mov byte [edi + 0x30], 1
mov byte [edi + 0x33], 0
test ebx, ebx
je 0x50c0f5
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x24]
call fcn.0046e880
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x44], edx
cmp byte [eax], 0
jne 0x50c0f5
mov byte [edi + 0x33], 1
jmp 0x50c1a4
mov ecx, str.mtime
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50c050
test dl, dl
je 0x50c04c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50c050
add eax, 2
add ecx, 2
test dl, dl
jne 0x50c030
xor eax, eax
jmp 0x50c055
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50c06e
push dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
mov edx, edi
call fcn.0050b930
add esp, 4
jmp 0x50c0ed
mov ecx, str.atime
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50c095
test dl, dl
je 0x50c091
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50c095
add eax, 2
add ecx, 2
test dl, dl
jne 0x50c075
xor eax, eax
jmp 0x50c09a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50c0a3
mov edx, dword [ebp - 0x28]
jmp 0x50c0dc
mov ecx, str.ctime
mov eax, esi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50c0d0
test dl, dl
je 0x50c0cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50c0d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x50c0b0
xor eax, eax
jmp 0x50c0d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50c0fb
mov edx, dword [ebp - 0x2c]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.0050b930
add esp, 4
mov edi, dword [ebp - 0x10]
test al, al
jne 0x50c1a4
mov byte [edi + 0x31], 1
jmp 0x50c14f
mov ecx, 0x5d0958
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50c122
test dl, dl
je 0x50c11e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50c122
add eax, 2
add ecx, 2
test dl, dl
jne 0x50c102
xor eax, eax
jmp 0x50c127
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x10]
test eax, eax
jne 0x50c14f
cmp byte [edi + 0x3a], al
je 0x50c137
mov byte [edi + 0x30], 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x8c]
call fcn.0046cb10
mov byte [edi + 0x3a], 1
jmp 0x50c1a4
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0x32], 0
jne 0x50c1a4
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
sub esi, ebx
mov eax, dword [edi + 0x84]
add eax, esi
cmp eax, 0x10000
jae 0x50c1a0
sub edi, 0xffffff80
test esi, esi
je 0x50c1a4
push esi
mov ecx, edi
call fcn.0046c9a0
mov eax, dword [ebp + 8]
add eax, ebx
push esi
push eax
mov eax, dword [edi + 4]
add eax, dword [edi]
push eax
call fcn.0058aed0
mov ecx, dword [edi + 4]
add esp, 0xc
mov eax, dword [edi]
add ecx, esi
mov byte [ecx + eax], 0
mov dword [edi + 4], ecx
jmp 0x50c1a4
mov byte [edi + 0x32], 1
mov edi, dword [ebp - 0x20]
sub edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x20], edi
jne 0x50bb80
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
mov bl, 1
push eax
call fcn.00588148
add esp, 4
push esi
call fcn.00588148
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x48]
xor bl, bl
mov eax, dword [ebp - 0x3c]
jmp 0x50c1c1
push 0x5f79a8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x13329ac
push eax
call fcn.0058acc1
int3