Function at 0x4ba170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x50]
push ebx
push ebp
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [eax]
push edi
lea ecx, [esp + 0x1c]
call fcn.00477cf0
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 0
call fcn.00477cf0
mov ebp, dword [esp + 0x54]
mov byte [esp + 0x4c], 1
cmp ebp, 0xffffffff
je 0x4ba1d3
cmp ebp, 3
je 0x4ba1d3
mov ecx, dword [esp + 0x58]
push ecx
lea ecx, [esp + 0x34]
call fcn.00478020
jmp 0x4ba214
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x4ba1e1
xor eax, eax
jmp 0x4ba1e7
mov eax, dword [esi + 0xc4]
mov edi, dword [esp + 0x58]
cmp byte [eax + edi], 0x6d
jne 0x4ba1fe
mov eax, edi
lea ecx, [esp + 0x1c]
push eax
inc edi
call fcn.00478020
push edi
lea ecx, [esp + 0x34]
call fcn.00478020
mov dword [esp + 0x54], 0xffffffff
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x5c], eax
je 0x4ba4a4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
call fcn.004b9c00
add esp, 4
test eax, eax
je 0x4ba270
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004ba780
mov ebx, eax
mov eax, dword [edi]
cmp eax, esi
jne 0x4ba4a4
jmp 0x4ba220
lea edx, [esp + 0x18]
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.004b9c60
mov edi, eax
add esp, 8
test edi, edi
je 0x4ba424
add ebx, 4
cmp ebp, 4
jne 0x4ba29f
cmp edi, 5
je 0x4ba43e
jmp 0x4ba2bd
cmp ebp, 6
jne 0x4ba2af
cmp edi, 7
je 0x4ba43e
jmp 0x4ba2bd
cmp ebp, 0xa
jne 0x4ba2e0
cmp edi, 0xb
je 0x4ba43e
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push edx
push eax
add ebx, 0xfffffffc
push ecx
mov ecx, dword [esp + 0x20]
push ebx
call fcn.004ba580
mov ebx, eax
jmp 0x4ba220
cmp ebp, 8
jne 0x4ba2ea
cmp edi, 9
jmp 0x4ba2b7
cmp ebp, 2
jne 0x4ba2fa
cmp edi, 0xfffffffe
je 0x4ba465
jmp 0x4ba2bd
cmp ebp, 1
jne 0x4ba356
cmp edi, 0xfffffffc
je 0x4ba348
cmp edi, 0xfffffffd
jne 0x4ba2bd
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4ba220
mov eax, dword [esi + 0xcc]
lea ecx, [esp + 0x1c]
push eax
call fcn.00478020
push 0x50
lea ecx, [esi + 0xbc]
call fcn.00477ff0
cmp edi, 0xfffffffc
mov dword [esp + 0x58], 1
je 0x4ba47a
jmp 0x4ba220
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4ba47a
jmp 0x4ba315
cmp ebp, 0xffffffff
jne 0x4ba2bd
cmp edi, 0xfffffffb
je 0x4ba374
cmp edi, 0xfffffffa
je 0x4ba374
cmp edi, 3
jne 0x4ba2bd
jmp 0x4ba379
cmp edi, 3
jne 0x4ba3cc
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4ba220
mov ecx, dword [esi + 0xcc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00478020
push 0x53
lea ecx, [esi + 0xbc]
call fcn.00477ff0
mov edx, dword [esi + 0xcc]
lea ecx, [esp + 0x30]
push edx
call fcn.00478020
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
push 0x6e
push eax
push ecx
push esi
call fcn.004ba0a0
add esp, 0x10
jmp 0x4ba220
mov eax, dword [esp + 0x58]
cmp edi, 0xfffffffb
je 0x4ba3db
test eax, eax
jne 0x4ba41a
jmp 0x4ba3e3
test eax, eax
jne 0x4ba220
mov ebp, dword [esi + 0xcc]
lea ecx, [esp + 0x1c]
push ebp
call fcn.00478020
inc ebp
lea ecx, [esp + 0x1c]
push ebp
call fcn.00478020
push 0x6f53
lea ecx, [esi + 0xbc]
call fcn.00477fb0
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x58], 1
cmp edi, 0xfffffffa
je 0x4ba48f
jmp 0x4ba220
mov edx, dword [esp + 0x5c]
push 0x6a
push edx
push 0xffffffffffffffff
push esi
call fcn.004ba0a0
add esp, 0x10
add ebx, 4
jmp 0x4ba220
push 0x55
lea ecx, [esi + 0xbc]
call fcn.00477ff0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
push 0x71
push eax
push ecx
push esi
call fcn.004ba0a0
add esp, 0x10
jmp 0x4ba532
push 0x7352
lea ecx, [esi + 0xbc]
call fcn.00477fb0
jmp 0x4ba532
push 0x7251
lea ecx, [esi + 0xbc]
call fcn.00477fb0
jmp 0x4ba532
push 0x7454
lea ecx, [esi + 0xbc]
call fcn.00477fb0
jmp 0x4ba532
mov eax, dword [esi + 0xcc]
lea ebp, [esi + 0xbc]
test eax, eax
mov dword [esp + 0x54], ebp
jne 0x4ba4bc
xor esi, esi
jmp 0x4ba4bf
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, eax
neg ecx
sbb ecx, ecx
shr eax, 2
and ecx, edx
test eax, eax
jle 0x4ba502
mov edx, eax
mov ebp, 0xffff
mov edi, 0x40
mov eax, esi
add eax, dword [ecx]
add ecx, 4
mov byte [eax], 0x6a
and word [eax + 7], di
inc eax
dec edx
mov dword [eax], 0
mov word [eax + 4], bp
jne 0x4ba4e2
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, ecx
neg eax
sbb eax, eax
shr ecx, 2
and eax, edi
dec ecx
test ecx, ecx
jl 0x4ba532
lea esi, [eax + ecx*4]
lea edi, [ecx + 1]
mov edx, dword [esi]
push 1
push edx
mov ecx, ebp
call fcn.00478730
sub esi, 4
dec edi
jne 0x4ba520
mov esi, 0x55f890
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 0
mov dword [esp + 0x30], esi
call fcn.00477ef0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.00477ef0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x18