Function at 0x4e74f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c138
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x596c60]
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], 0x576c60
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 0x4e75c2
mov ecx, dword [esi + 8]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4e75c2
mov eax, 1
jmp 0x4e75c4
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e75dd
cmp dword [ebx + 4], 0
ja 0x4e75d6
cmp dword [ebx], 0x34
jb 0x4e75dd
mov eax, 1
jmp 0x4e75df
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e78db
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.004e5740
add esp, 8
test al, al
je 0x4e7638
mov ecx, str.MCAFMULT
lea edx, [ebp - 0x24]
mov edi, 0xc
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4e7638
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4e7620
mov eax, 1
jmp 0x4e763a
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e78db
mov ecx, dword [esi + 8]
lea eax, [esi + 0x18]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e5740
xor ecx, ecx
add esp, 8
test al, al
setne cl
mov byte [esi + 4], cl
test cl, cl
je 0x4e7686
mov ecx, dword [esi + 8]
lea eax, [esi + 0x1c]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e5740
add esp, 8
test al, al
je 0x4e7686
mov eax, 1
jmp 0x4e7688
xor eax, eax
mov byte [esi + 4], al
lea edi, [esi + 0x20]
test al, al
je 0x4e76ae
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x30]
push 8
push edi
call fcn.004e5740
add esp, 8
test al, al
je 0x4e76ae
mov eax, 1
jmp 0x4e76b0
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e76d6
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e5740
add esp, 8
test al, al
je 0x4e76d6
mov eax, 1
jmp 0x4e76d8
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e76fe
mov ecx, dword [esi + 8]
lea eax, [esi + 0x2c]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e5740
add esp, 8
test al, al
je 0x4e76fe
mov eax, 1
jmp 0x4e7700
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e7726
mov ecx, dword [esi + 8]
lea eax, [esi + 0x30]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e5740
add esp, 8
test al, al
je 0x4e7726
mov eax, 1
jmp 0x4e7728
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e774e
mov ecx, dword [esi + 8]
lea eax, [esi + 0x34]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e5740
add esp, 8
test al, al
je 0x4e774e
mov eax, 1
jmp 0x4e7750
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e7776
mov ecx, dword [esi + 8]
lea eax, [esi + 0x38]
push 4
push eax
lea edx, [ebp - 0x30]
call fcn.004e5740
add esp, 8
test al, al
je 0x4e7776
mov eax, 1
jmp 0x4e7778
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e78db
cmp dword [esi + 0x1c], 1
ja 0x4e77ec
mov edx, dword [edi + 4]
mov ecx, dword [edi]
cmp edx, dword [ebx + 4]
ja 0x4e77ec
jb 0x4e7799
cmp ecx, dword [ebx]
ja 0x4e77ec
mov eax, dword [esi + 0x28]
xor edi, edi
cmp edi, edx
ja 0x4e77ec
jb 0x4e77a8
cmp eax, ecx
ja 0x4e77ec
mov ecx, dword [esi + 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
ja 0x4e77ec
mov edi, dword [ebp - 0x30]
jb 0x4e77bb
cmp edi, ecx
ja 0x4e77ec
cmp ecx, eax
ja 0x4e77ec
mov edx, dword [esi + 0x30]
sub eax, ecx
cmp edx, eax
ja 0x4e77ec
cmp edx, 0x100000
ja 0x4e77ec
mov eax, dword [esi + 0x34]
mul dword [esi + 0x38]
sub ecx, edi
sbb ebx, dword [ebp - 0x2c]
cmp edx, ebx
ja 0x4e77ec
jb 0x4e77e5
cmp eax, ecx
ja 0x4e77ec
mov eax, 1
jmp 0x4e77ee
xor eax, eax
mov byte [esi + 4], al
test al, al
je 0x4e78db
mov byte [ebp - 4], 1
push dword [esi + 0x30]
call fcn.004eac70
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.004eac70
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [ebp - 4], 0
jmp 0x4e7865
cmp byte [esi + 4], 0
je 0x4e78db
xor edi, edi
xor ebx, ebx
nop
cmp edi, dword [esi + 0x34]
jae 0x4e78a4
cmp byte [esi + 4], 0
je 0x4e7897
mov eax, dword [esi + 0x3c]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004e7360
test al, al
je 0x4e7897
mov eax, 1
jmp 0x4e7899
xor eax, eax
inc edi
mov byte [esi + 4], al
add ebx, 0x50
test al, al
jne 0x4e7870
cmp byte [esi + 4], 0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
je 0x4e78d6
push dword [esi + 0x30]
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x30]
push dword [esi + 0x40]
call fcn.004e5740
add esp, 8
test al, al
je 0x4e78d6
mov eax, 1
jmp 0x4e78d8
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.005072fd
mov esp, ebp
pop ebp
ret 8