Function at 0x4ca4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov dword [esi + 0x138], ebp
mov dword [esi + 0x44], ecx
lea edi, [esi + 0x140]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x4d10a0
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x16]
mov word [ecx], ax
lea ebx, [esi + 0x3a]
mov word [ebx], ax
lea ecx, [esi + 0x28]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
pcmpeqd xmm0, xmm0
lea eax, [esi + 0xf0]
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
push ebx
lea ebx, [esi + 0x16]
push ebx
push eax
call fcn.005581a0
add esp, 0xc
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [edi + 8], eax
push eax
push 0xa
call fcn.004fd430
cmp byte [esi + 0x23], 0
lea eax, [esi + 0x18]
jns 0x4ca56f
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x24]
mov dword [esi + 4], eax
mov dword [ecx], eax
lea edi, [esi + 0x50]
push 0xa0
push 0xff
push edi
call fcn.005191b0
add esp, 0xc
lea eax, [esi + 0x40]
mov dword [esi + 0x34], edi
mov dword [eax], edi
lea eax, [esi + 0x3c]
mov dword [eax], 0
lea eax, [esi + 3]
mov byte [eax], 1
lea eax, [esi + 0xb]
mov byte [eax], 0x45
movzx eax, word [esi + 0x3a]
mov dword [esi + 0x4c], eax
movzx eax, word [esi + 0x16]
mov dword [esi + 0x48], eax
lea ecx, [esi + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.00549d50
test al, al
jne 0x4ca6de
mov eax, dword [esi + 0x24]
movzx edx, byte [esi + 0x23]
test dl, dl
mov ebx, dword [esi + 4]
jns 0x4ca5dd
mov edx, dword [esi + 0x1c]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x4ca62b
mov dword [esi + 4], edx
lea eax, [edx + edx]
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.004fd430
mov eax, dword [esi + 0x20]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x23], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.004fd430
cmp byte [esi + 0x23], 0
lea ebx, [esi + 0x18]
jns 0x4ca623
mov ebx, dword [esi + 0x18]
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x10]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [esi + 4], ebx
je 0x4ca63e
movzx eax, word [eax]
jmp 0x4ca666
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x148], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, edi
call ebx
mov ebx, dword [esi + 4]
movzx ecx, ax
lea edx, [esi + 3]
lea eax, [esi + 0xf0]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x28]
push eax
push dword [esi + 0x4c]
push dword [esi + 0x48]
lea eax, [esi + 0x24]
push eax
push ebx
lea eax, [esi + 0xb]
push eax
call fcn.00558310
add esp, 0x28
test eax, eax
jne 0x4ca6de
mov edi, dword [esi + 0x10]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4ca6b4
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x4ca5b8
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x148], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, edi
call ebx
jmp 0x4ca5b8
mov ebx, dword [esi + 4]
movzx eax, byte [esi + 0x33]
test al, al
jns 0x4ca6ec
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x40]
test eax, eax
je 0x4ca70f
cmp byte [esi + 3], 0
je 0x4ca70f
mov eax, edi
lea ecx, [esi + 0x50]
sub eax, ecx
cmp eax, 0x9f
jg 0x4ca70f
mov eax, dword [esi + 0x3c]
mov dword [edi], eax
add edi, 4
mov edx, dword [esi + 0x24]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.00409a30
add esp, 4
mov eax, dword [ebp + 0x14]
movd dword [eax], xmm0
mov cl, byte [esi + 0x33]
test cl, cl
js 0x4ca7a0
movzx eax, cl
mov edx, edi
lea ebx, [esi + 0x50]
sub edx, ebx
cmp edx, 5
jl 0x4ca740
test eax, eax
jne 0x4ca7a5
mov dword [esi + 0x148], 0
lea ecx, [esi + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.00549d50
test al, al
je 0x4ca760
mov eax, dword [ebp + 0x10]
or byte [eax], 2
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x44]
mov dword [edi], eax
cmp byte [esi + 0x23], 0
jns 0x4ca779
push dword [esi + 0x18]
call fcn.0050fc7c
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x4ca78a
push dword [esi + 0x28]
call fcn.0050fc7c
add esp, 4
mov eax, dword [esi + 0x140]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x2c]
jmp 0x4ca730
lea eax, [edi - 4]
lea ebx, [esi + 0x50]
cmp eax, ebx
seta dl
cmp ebx, edi
je 0x4ca7d6
test dl, dl
je 0x4ca7d6
lea ecx, [esi + 0x54]
mov edx, eax
mov edi, dword [ecx - 4]
mov ebx, dword [edx]
mov dword [ecx - 4], ebx
mov dword [edx], edi
add edx, 0xfffffffc
lea edi, [ecx + 4]
cmp ecx, edx
mov ecx, edi
jb 0x4ca7bd
mov cl, byte [esi + 0x33]
test cl, cl
jns 0x4ca7e0
mov edx, dword [esi + 0x28]
mov dword [esi + 0xc], edx
lea edx, [esi + 0x50]
cmp eax, edx
jbe 0x4ca82d
test cl, cl
jns 0x4ca7f0
mov ecx, dword [esi + 0x2c]
jmp 0x4ca7f3
movzx ecx, cl
add ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edx, byte [edx]
mov ebx, edx
dec bl
cmp bl, 0x7d
ja 0x4ca80c
mov edi, dword [esi + 0x34]
cmp dword [edi], edx
jne 0x4ca84b
mov edx, ecx
mov edi, dword [esi + 0xc]
sub edx, edi
xor ebx, ebx
cmp edx, 2
setge bl
add edi, ebx
mov dword [esi + 0xc], edi
mov edx, dword [esi + 0x34]
add edx, 4
mov dword [esi + 0x34], edx
cmp edx, eax
jb 0x4ca7f6
mov ecx, dword [esi + 0xc]
movzx ecx, byte [ecx]
mov edx, ecx
dec dl
cmp dl, 0x7d
ja 0x4ca740
mov eax, dword [eax]
dec eax
cmp eax, ecx
jb 0x4ca740
mov eax, dword [ebp + 0x10]
mov dword [eax], 4
mov dword [esi + 0x148], 0
jmp 0x4ca740