Function at 0x51a010
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a37a
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x616718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x26c]
push 0x104
push eax
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x2ec], ebx
call dword [0x53d1e8]
test eax, eax
je 0x51aa68
cmp eax, 0x104
jae 0x51a9ea
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 0
push eax
call dword [0x53d1e4]
push eax
call dword [0x53d0a8]
test eax, eax
jne 0x51a183
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2dd]
call fcn.00519f50
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp - 0x2e4], 0x20
push dword [ebp - 0x2e4]
mov dword [ebp - 4], 4
call dword [0x53d780]
push 0xa
push 0
call dword [0x53d188]
push eax
lea eax, [ebp - 0x2f0]
mov ecx, esi
push eax
call dword [0x53d2d8]
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call dword [0x53d6e8]
push eax
push 0x6211d0
mov byte [ebp - 4], 6
call dword [0x53e884]
mov edx, dword [ebp - 0x288]
add esp, 8
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x51a14f
mov ecx, dword [ebp - 0x29c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51a145
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51a145
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x28c], 0
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
call dword [0x53d84c]
lea ecx, [ebp - 0x2e8]
jmp 0x51ab94
cmp dword [ebp - 0x300], 0
mov ecx, 0x5dfad0
mov eax, 0x5dfaa4
cmove eax, ecx
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [0x61a7dc]
test eax, eax
je 0x51a1c0
lea eax, [ebp - 0x26c]
push eax
call dword [0x53d1ac]
mov esi, eax
mov dword [ebp - 0x2e8], eax
jmp 0x51a1c8
xor esi, esi
mov dword [ebp - 0x2e8], esi
mov eax, dword [0x53d19c]
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], esi
mov eax, dword [esi + 0x3c]
mov ecx, 0x5a4d
mov dword [ebp - 4], 7
cmp word [esi], cx
jne 0x51a853
cmp dword [eax + esi], 0x4550
jne 0x51a853
mov eax, dword [eax + esi + 0x50]
mov edi, esi
mov dword [ebp - 0x64], 0x730055
mov dword [ebp - 0x60], 0x720065
mov dword [ebp - 0x5c], 0x430020
mov dword [ebp - 0x58], 0x6f0068
lea ecx, [eax + esi]
mov dword [ebp - 0x54], 0x630069
mov dword [ebp - 0x50], 0x200065
mov dword [ebp - 0x4c], 0x650073
mov dword [ebp - 0x48], 0x200074
mov dword [ebp - 0x44], 0x690076
mov dword [ebp - 0x40], 0x200061
mov dword [ebp - 0x3c], 0x690057
mov dword [ebp - 0x38], 0x64006e
mov dword [ebp - 0x34], 0x77006f
mov dword [ebp - 0x30], 0x200073
mov dword [ebp - 0x2c], 0x730055
mov dword [ebp - 0x28], 0x720065
mov dword [ebp - 0x24], 0x450020
mov dword [ebp - 0x20], 0x700078
mov dword [ebp - 0x1c], 0x720065
mov dword [ebp - 0x18], 0x650069
mov dword [ebp - 0x14], 0x63006e
mov dword [ebp - 0x2f4], ecx
cmp eax, 0x53
jl 0x51a7ba
lea eax, [ecx - 0x53]
mov ecx, esi
mov dword [ebp - 0x2e4], eax
lea edx, [ebp - 0x64]
mov esi, 0x4f
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x51a2d1
add ecx, 4
add edx, 4
sub esi, 4
jae 0x51a2c0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x51a2f8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x51a2f8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x51a2f8
cmp esi, 0xffffffff
je 0x51a2f4
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x51a2f8
xor eax, eax
jmp 0x51a2fd
sbb eax, eax
or eax, 1
test eax, eax
je 0x51a339
cmp edi, dword [ebp - 0x2e4]
je 0x51a7ba
inc edi
lea edx, [ebp - 0x64]
mov ecx, edi
mov esi, 0x4f
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x51a301
add ecx, 4
add edx, 4
sub esi, 4
jae 0x51a318
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x51a301
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x51a301
mov edx, dword [ebp - 0x2f4]
cmp edi, edx
je 0x51a7ba
sub edx, edi
mov ebx, 0x80070057
sar edx, 1
shr edx, 1
test edi, edi
je 0x51a38e
mov ecx, edx
mov eax, edi
test edx, edx
je 0x51a36e
mov edi, edi
cmp word [eax], 0
je 0x51a36e
add eax, 2
sub ecx, 1
jne 0x51a360
sub edx, ecx
mov eax, ecx
neg eax
sbb eax, eax
xor esi, esi
and eax, edx
test ecx, ecx
mov edx, ebx
cmovne edx, esi
mov dword [ebp - 0x2e4], edx
je 0x51a396
lea ebx, [eax + eax]
jmp 0x51a398
mov edx, ebx
mov dword [ebp - 0x2e4], edx
xor ebx, ebx
test edx, edx
jns 0x51a4be
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x2dd]
call fcn.00519fb0
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp - 0x2f4], 0x20
push dword [ebp - 0x2f4]
mov byte [ebp - 4], 0x11
call dword [0x53d780]
push 0xa
push 0
push dword [ebp - 0x2e4]
lea eax, [ebp - 0x2fc]
mov ecx, esi
push eax
call dword [0x53d2dc]
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call dword [0x53d6e8]
push eax
push 0x6211d0
mov byte [ebp - 4], 0x13
call dword [0x53e884]
mov edx, dword [ebp - 0x288]
add esp, 8
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x51a453
mov ecx, dword [ebp - 0x29c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51a449
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51a449
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x28c], 0
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
call dword [0x53d84c]
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 7
call dword [0x53d84c]
push 0
push 0x540bac
call dword [0x53d80c]
mov esi, dword [ebp - 0x2f0]
add esp, 8
mov dword [esi], eax
push dword [ebp - 0x2e8]
mov dword [ebp - 4], 0x14
call dword [0x53d19c]
mov eax, esi
jmp 0x51abb5
mov esi, dword [0x53d1e0]
add ebx, 2
call esi
mov ecx, dword [0x53d1d8]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2ac]
push eax
mov dword [ebp - 0x2a8], ecx
mov cl, byte [ebp - 0x2dd]
push ebx
push 8
mov dword [ebp - fcn.00446ef0], 0x54e4f0
mov byte [ebp - 0x2a4], cl
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x288], eax
call esi
push eax
call dword [0x53d1d0]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.004af870
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x15
call fcn.004857f0
mov ecx, dword [ebp - 0x2b4]
test ecx, ecx
jne 0x51a5e9
push 0x5dfb20
lea ecx, [ebp - 0x284]
call fcn.0040a960
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x16
push eax
push 0x6211d0
call dword [0x53e884]
mov edx, dword [ebp - 0x270]
add esp, 8
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x51a5ac
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51a5a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51a5a2
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
push 0
push 0x540bac
call dword [0x53d80c]
mov esi, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2dc]
add esp, 8
mov dword [esi], eax
call fcn.004af910
push dword [ebp - 0x2e8]
mov dword [ebp - 4], 0x17
call dword [0x53d19c]
mov eax, esi
jmp 0x51abb5
shr ebx, 1
mov edx, 0
mov eax, 0x80070057
cmovne eax, edx
mov dword [ebp - 0x2e4], eax
test ebx, ebx
je 0x51a650
mov edx, 0x7ffffffe
sub edx, ebx
lea esp, [esp]
lea eax, [ebx + edx]
test eax, eax
je 0x51a62d
movzx eax, word [edi]
test ax, ax
je 0x51a62d
mov word [ecx], ax
add edi, 2
add ecx, 2
sub ebx, 1
jne 0x51a610
lea eax, [ecx - 2]
test ebx, ebx
cmovne eax, ecx
xor ecx, ecx
test ebx, ebx
mov word [eax], cx
mov eax, 0x8007007a
cmovne eax, ecx
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2e4], eax
test eax, eax
jns 0x51a782
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x2dd]
call fcn.00519cb0
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp - 0x2f8], 0x20
push dword [ebp - 0x2f8]
mov byte [ebp - 4], 0x18
call dword [0x53d780]
mov ebx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2fc]
push 0xa
push 0
push ebx
push eax
mov ecx, esi
call dword [0x53d2dc]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x19
push ecx
mov ecx, eax
call dword [0x53d6e8]
push eax
push 0x6211d0
mov byte [ebp - 4], 0x1a
call dword [0x53e884]
mov edx, dword [ebp - 0x270]
add esp, 8
mov byte [ebp - 4], 0x19
cmp edx, 8
jb 0x51a70c
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51a702
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51a702
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
call dword [0x53d84c]
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0x15
call dword [0x53d84c]
push 0
push 0x540bac
call dword [0x53d80c]
mov esi, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2dc]
add esp, 8
mov dword [esi], eax
call fcn.004af910
push dword [ebp - 0x2e8]
mov dword [ebp - 4], 0x1b
call dword [0x53d19c]
mov eax, esi
jmp 0x51abb5
mov esi, dword [ebp - 0x2f0]
push 0xffffffffffffffff
push ecx
push esi
call dword [0x53d770]
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.004af910
push dword [ebp - 0x2e8]
mov dword [ebp - 4], 0x1c
call dword [0x53d19c]
mov eax, esi
jmp 0x51abb5
push 0x5dfafc
lea ecx, [ebp - 0x284]
call fcn.0040a960
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xf
push eax
push 0x6211d0
call dword [0x53e884]
mov edx, dword [ebp - 0x270]
add esp, 8
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x51a829
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51a81f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51a81f
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
push 0
push 0x540bac
call dword [0x53d80c]
add esp, 8
mov dword [ebx], eax
push dword [ebp - 0x2e8]
mov dword [ebp - 4], 0x10
call dword [0x53d19c]
jmp 0x51abb3
push 0x10
push dword [eax + esi]
lea eax, [ebp - 0x2ec]
push eax
call dword [0x53d4d0]
mov ebx, eax
movzx ecx, word [esi]
lea eax, [ebp - 0x308]
push 0x10
push ecx
push eax
mov byte [ebp - 4], 8
call dword [0x53d3f4]
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x2dd]
call fcn.00519d70
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp - 0x2f8], 0x20
push dword [ebp - 0x2f8]
mov byte [ebp - 4], 0xa
call dword [0x53d780]
push 0
push edi
mov edi, dword [0x53d77c]
lea eax, [ebp - 0x2f4]
push eax
mov ecx, esi
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp - 0x2f8], 0x20
push dword [ebp - 0x2f8]
mov byte [ebp - 4], 0xb
call dword [0x53d780]
push 0
push ebx
lea eax, [ebp - 0x2fc]
mov ecx, esi
push eax
call edi
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call dword [0x53d6e8]
push eax
push 0x6211d0
mov byte [ebp - 4], 0xd
call dword [0x53e884]
mov edx, dword [ebp - 0x270]
add esp, 8
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x51a95b
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51a951
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51a951
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
call dword [0x53d84c]
lea ecx, [ebp - 0x2f4]
call dword [0x53d84c]
lea ecx, [ebp - 0x2e4]
call dword [0x53d84c]
lea ecx, [ebp - 0x308]
call dword [0x53d84c]
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 7
call dword [0x53d84c]
push 0
push 0x540bac
call dword [0x53d80c]
mov esi, dword [ebp - 0x2f0]
add esp, 8
mov dword [esi], eax
push dword [ebp - 0x2e8]
mov dword [ebp - 4], 0xe
call dword [0x53d19c]
mov eax, esi
jmp 0x51abb5
push 0x5dfa40
lea ecx, [ebp - 0x29c]
call fcn.0040a960
lea eax, [ebp - 0x29c]
mov dword [ebp - 4], 3
push eax
push 0x6211d0
call dword [0x53e884]
mov edx, dword [ebp - 0x288]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x51aba1
mov ecx, dword [ebp - 0x29c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51aa59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51aa59
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
jmp 0x51aba1
mov eax, dword [0x6214fc]
test al, 1
jne 0x51aab4
mov dword [0x6214a8], 0xffffffff
mov ecx, 0x10
mov dword [0x6214ac], 0x20
mov esi, 0x5df8d8
mov dword [0x6214b0], 0
mov edi, 0x6214b8
mov dword [0x6214b4], 0x10
or eax, 1
rep movsd dword es:[edi], dword [esi]
mov dword [0x6214fc], eax
movsw word es:[edi], word [esi]
mov dword [ebp - 0x2e4], 0x6214a8
push ecx
mov byte [ebp - 0x2ec], 0x20
mov ecx, esp
push dword [ebp - 0x2ec]
mov dword [ebp - 4], 0
call dword [0x53d780]
push 0xa
push 0
call dword [0x53d188]
push eax
lea eax, [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x2e4]
call dword [0x53d2d8]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call dword [0x53d6e8]
push eax
push 0x6211d0
mov byte [ebp - 4], 2
call dword [0x53e884]
mov edx, dword [ebp - 0x270]
add esp, 8
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x51ab65
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51ab5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51ab5b
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
call dword [0x53d84c]
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 4], 0xffffffff
call dword [0x53d84c]
push 0
push 0x540bac
call dword [0x53d80c]
mov dword [ebx], eax
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051f6a1
mov esp, ebp
pop ebp
ret