Function at 0x4050b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x526060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0x52b720
mov dword [0x52b720], 0x5157a8
mov dword [0x52b738], 7
mov dword [0x52b734], 0
mov word [0x52b724], ax
mov dword [ebp - 4], eax
mov dword [0x52b754], 7
mov dword [0x52b750], eax
mov word [0x52b740], ax
mov dword [0x52b76c], 7
mov dword [0x52b768], eax
mov word [0x52b758], ax
mov dword [0x52b784], 7
mov dword [0x52b780], eax
mov word [0x52b770], ax
mov dword [0x52b79c], 7
mov dword [0x52b798], eax
mov word [0x52b788], ax
mov dword [0x52b7b4], 7
mov dword [0x52b7b0], eax
mov word [0x52b7a0], ax
mov dword [0x52b7cc], 7
mov dword [0x52b7c8], eax
mov word [0x52b7b8], ax
mov ecx, 0x52b7d0
mov byte [ebp - 4], 6
call fcn.00402670
push 0x5151e4
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x234]
call fcn.0040b770
mov esi, eax
cmp esi, 0x52b740
je 0x405203
mov eax, dword [0x52b754]
cmp eax, 8
jb 0x4051dc
inc eax
mov ecx, 0x52b740
push eax
push dword [0x52b740]
call fcn.00401e90
xor eax, eax
mov dword [0x52b754], 7
push esi
mov ecx, 0x52b740
mov dword [0x52b750], 0
mov word [0x52b740], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x405225
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040b490
mov esi, eax
cmp esi, 0x52b758
je 0x40527d
mov eax, dword [0x52b76c]
cmp eax, 8
jb 0x405256
inc eax
mov ecx, 0x52b758
push eax
push dword [0x52b758]
call fcn.00401e90
xor eax, eax
mov dword [0x52b76c], 7
push esi
mov ecx, 0x52b758
mov dword [0x52b768], 0
mov word [0x52b758], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x40529f
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040b650
mov esi, eax
cmp esi, 0x52b770
je 0x4052f7
mov eax, dword [0x52b784]
cmp eax, 8
jb 0x4052d0
inc eax
mov ecx, 0x52b770
push eax
push dword [0x52b770]
call fcn.00401e90
xor eax, eax
mov dword [0x52b784], 7
push esi
mov ecx, 0x52b770
mov dword [0x52b780], 0
mov word [0x52b770], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x405319
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040b970
mov esi, eax
cmp esi, 0x52b788
je 0x405371
mov eax, dword [0x52b79c]
cmp eax, 8
jb 0x40534a
inc eax
mov ecx, 0x52b788
push eax
push dword [0x52b788]
call fcn.00401e90
xor eax, eax
mov dword [0x52b79c], 7
push esi
mov ecx, 0x52b788
mov dword [0x52b798], 0
mov word [0x52b788], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x405393
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x234]
call fcn.0040ba90
mov esi, eax
cmp esi, 0x52b7a0
je 0x4053eb
mov eax, dword [0x52b7b4]
cmp eax, 8
jb 0x4053c4
inc eax
mov ecx, 0x52b7a0
push eax
push dword [0x52b7a0]
call fcn.00401e90
xor eax, eax
mov dword [0x52b7b4], 7
push esi
mov ecx, 0x52b7a0
mov dword [0x52b7b0], 0
mov word [0x52b7a0], ax
call fcn.00404ed0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x40540d
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c4090
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [ebp - 0x218], 0
jne 0x405445
xor ecx, ecx
jmp 0x40545f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405450
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov edi, 0x52b7b8
push eax
mov ecx, edi
call fcn.00401d30
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x5c
push eax
mov ecx, edi
call fcn.00407640
push 0xffffffffffffffff
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004074e0
mov esi, eax
cmp esi, edi
je 0x4054e5
mov ecx, dword [0x52b7cc]
cmp ecx, 8
jb 0x4054c1
inc ecx
push ecx
push dword [0x52b7b8]
mov ecx, edi
call fcn.00401e90
xor eax, eax
mov dword [0x52b7cc], 7
push esi
mov ecx, edi
mov dword [0x52b7c8], 0
mov word [0x52b7b8], ax
call fcn.00404ed0
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x405503
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00401e90
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.packageName:
mov dword [0x52b73c], 0
call esi
cmp dword [0x52b7cc], 8
cmovae edi, dword [0x52b7b8]
push edi
call esi
push 0x515220
call esi
mov eax, 0x52b720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412b06
mov esp, ebp
pop ebp
ret