Function at 0x4e6c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b928
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x595c60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp + 8]
lea ebx, [esi + 0x10]
mov dword [ebp - 4], 0
mov dword [esi], 0x575c30
mov byte [esi + 4], 1
mov dword [esi + 8], ecx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 4], cl
test cl, cl
je 0x4e6d12
mov ecx, dword [esi + 8]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4e6d12
mov eax, 1
jmp 0x4e6d14
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e6d2d
cmp dword [ebx + 4], 0
ja 0x4e6d26
cmp dword [ebx], 0x34
jb 0x4e6d2d
mov eax, 1
jmp 0x4e6d2f
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e702b
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x24]
push 0x10
push eax
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6d88
mov ecx, str.MCAFMULT
lea edx, [ebp - 0x24]
mov edi, 0xc
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4e6d88
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4e6d70
mov eax, 1
jmp 0x4e6d8a
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e702b
mov ecx, dword [esi + 8]
lea eax, [esi + 0x18]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e4f40
xor ecx, ecx
add esp, 8
test al, al
setne cl
mov byte [esi + 4], cl
test cl, cl
je 0x4e6dd6
mov ecx, dword [esi + 8]
lea eax, [esi + 0x1c]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6dd6
mov eax, 1
jmp 0x4e6dd8
xor eax, eax
mov byte [esi + 4], al
lea edi, [esi + 0x20]
test al, al
je 0x4e6dfe
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x30]
push 8
push edi
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6dfe
mov eax, 1
jmp 0x4e6e00
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e6e26
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6e26
mov eax, 1
jmp 0x4e6e28
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e6e4e
mov ecx, dword [esi + 8]
lea eax, [esi + 0x2c]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6e4e
mov eax, 1
jmp 0x4e6e50
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e6e76
mov ecx, dword [esi + 8]
lea eax, [esi + 0x30]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6e76
mov eax, 1
jmp 0x4e6e78
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e6e9e
mov ecx, dword [esi + 8]
lea eax, [esi + 0x34]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6e9e
mov eax, 1
jmp 0x4e6ea0
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e6ec6
mov ecx, dword [esi + 8]
lea eax, [esi + 0x38]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e6ec6
mov eax, 1
jmp 0x4e6ec8
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e702b
cmp dword [esi + 0x1c], 1
ja 0x4e6f3c
mov edx, dword [edi + 4]
mov ecx, dword [edi]
cmp edx, dword [ebx + 4]
ja 0x4e6f3c
jb 0x4e6ee9
cmp ecx, dword [ebx]
ja 0x4e6f3c
mov eax, dword [esi + 0x28]
xor edi, edi
cmp edi, edx
ja 0x4e6f3c
jb 0x4e6ef8
cmp eax, ecx
ja 0x4e6f3c
mov ecx, dword [esi + 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
ja 0x4e6f3c
mov edi, dword [ebp - 0x30]
jb 0x4e6f0b
cmp edi, ecx
ja 0x4e6f3c
cmp ecx, eax
ja 0x4e6f3c
mov edx, dword [esi + 0x30]
sub eax, ecx
cmp edx, eax
ja 0x4e6f3c
cmp edx, 0x100000
ja 0x4e6f3c
mov eax, dword [esi + 0x34]
mul dword [esi + 0x38]
sub ecx, edi
sbb ebx, dword [ebp - 0x2c]
cmp edx, ebx
ja 0x4e6f3c
jb 0x4e6f35
cmp eax, ecx
ja 0x4e6f3c
mov eax, 1
jmp 0x4e6f3e
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e702b
mov byte [ebp - 4], 1
push dword [esi + 0x30]
call fcn.004ea3a0
mov dword [esi + 0x40], eax
xor ecx, ecx
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [esi + 0x34]
mov edx, 0x50
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ea3a0
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [ebp - 4], 0
jmp 0x4e6fb5
cmp byte [esi + 4], 0
je 0x4e702b
xor edi, edi
xor ebx, ebx
nop
cmp edi, dword [esi + 0x34]
jae 0x4e6ff4
cmp byte [esi + 4], 0
je 0x4e6fe7
mov eax, dword [esi + 0x3c]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004e6ab0
test al, al
je 0x4e6fe7
mov eax, 1
jmp 0x4e6fe9
xor eax, eax
inc edi
mov byte [esi + 4], al
add ebx, 0x50
test al, al
jne 0x4e6fc0
cmp byte [esi + 4], 0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
je 0x4e7026
push dword [esi + 0x30]
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x30]
push dword [esi + 0x40]
call fcn.004e4f40
add esp, 8
test al, al
je 0x4e7026
mov eax, 1
jmp 0x4e7028
xor eax, eax
mov byte [esi + 4], al
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00506c7d
mov esp, ebp
pop ebp
ret 8