Function at 0x51280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4904
call fcn.00049640
mov ecx, eax
push 0x4901
mov dword [ebp - 0x1c], ecx
call fcn.00049640
mov edx, eax
push 0x490a
mov dword [ebp - 0x24], edx
call fcn.00049640
mov edi, eax
push 0x4847
mov dword [ebp - 0x28], edi
call fcn.00049640
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov byte [ebp - 5], bl
cmp ecx, ebx
je 0x51fff
cmp edx, ebx
je 0x51fff
cmp edi, ebx
je 0x51fff
cmp eax, ebx
je 0x51fff
cmp esi, ebx
jne 0x512f6
push 0x52
jmp 0x5130d
cmp esi, 2
jne 0x512ff
push 0x54
jmp 0x5130d
cmp esi, 1
jne 0x51fff
push 0x2a1
call fcn.00049640
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x51fff
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov eax, esi
call fcn.00050ad0
cmp al, 1
jne 0x51fff
mov edi, dword [ebp - 0x18]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x40], 0x736f746e
mov dword [ebp - 0x3c], 0x6c6e726b
mov dword [ebp - 0x38], 0x6578652e
mov dword [ebp - 0x54], 0x6c466d4d
mov dword [ebp - 0x50], 0x49687375
mov dword [ebp - 0x4c], 0x6567616d
mov dword [ebp - 0x48], 0x74636553
mov dword [ebp - 0x44], 0x6e6f69
call fcn.00014e00
cmp al, 1
jne 0x513c6
cmp esi, 2
jne 0x5139e
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x10]
push edx
push 0x187
jmp 0x513c1
test esi, esi
jne 0x513b0
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x10]
push ecx
push 0x188
jmp 0x513c1
cmp esi, 1
jne 0x513c6
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
push eax
push 0x2a5
call fcn.00049620
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x40]
push ecx
push edi
mov dword [ebp - 0x54], 0x43666f49
mov dword [ebp - 0x50], 0x6c706d6f
mov dword [ebp - 0x4c], 0x52657465
mov dword [ebp - 0x48], 0x65757165
mov dword [ebp - 0x44], 0x7473
call fcn.00014e00
cmp al, 1
jne 0x5143a
cmp esi, 2
jne 0x51412
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x10]
push edx
push 0x2ac
jmp 0x51435
test esi, esi
jne 0x51424
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x10]
push ecx
push 0x2ab
jmp 0x51435
cmp esi, 1
jne 0x5143a
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
push eax
push 0x2ad
call fcn.00049620
mov dword [ebp - 0x7c], 0x46005c
mov dword [ebp - 0x78], 0x6c0069
mov dword [ebp - 0x74], 0x530065
mov dword [ebp - 0x70], 0x730079
mov dword [ebp - 0x6c], 0x650074
mov dword [ebp - 0x68], 0x5c006d
test esi, esi
jne 0x516f9
push 0xa39
call fcn.00049650
mov ecx, eax
push 0xb04
mov dword [ebp - 0x18], ecx
call fcn.00049650
mov edx, dword [ebp - 0x10]
push 1
mov esi, eax
push esi
push ecx
push edx
push ebx
mov eax, edi
call fcn.00050c10
cmp al, 1
jne 0x51c0a
mov ecx, dword [ebp - 0x10]
push ebx
push edi
xor eax, eax
call fcn.00014be0
cmp al, 1
jne 0x51c0a
mov eax, dword [ebp - 0x18]
add eax, 4
mov edx, 7
mov edi, edi
mov ecx, dword [eax]
mov dword [eax - 4], 0
test ecx, ecx
je 0x514f5
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x514f5
add ecx, edi
mov dword [eax - 4], 1
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x10], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], 0
test ecx, ecx
je 0x5152b
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x5152b
add ecx, edi
mov dword [eax + 0x18], 1
mov ebx, dword [ecx]
mov dword [eax + 0x24], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x28], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x2c], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x34], 0
test ecx, ecx
je 0x51561
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51561
add ecx, edi
mov dword [eax + 0x34], 1
mov ebx, dword [ecx]
mov dword [eax + 0x40], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x44], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x48], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x4c], ecx
mov ecx, dword [eax + 0x54]
mov dword [eax + 0x50], 0
test ecx, ecx
je 0x51597
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51597
add ecx, edi
mov dword [eax + 0x50], 1
mov ebx, dword [ecx]
mov dword [eax + 0x5c], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x60], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x64], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x68], ecx
add eax, 0x70
dec edx
jne 0x514c0
lea eax, [esi + 4]
mov edx, 9
lea esp, [esp]
mov ecx, dword [eax]
mov dword [eax - 4], 0
test ecx, ecx
je 0x515e5
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x515e5
add ecx, edi
mov dword [eax - 4], 1
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x10], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], 0
test ecx, ecx
je 0x5161b
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x5161b
add ecx, edi
mov dword [eax + 0x18], 1
mov ebx, dword [ecx]
mov dword [eax + 0x24], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x28], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x2c], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x34], 0
test ecx, ecx
je 0x51651
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51651
add ecx, edi
mov dword [eax + 0x34], 1
mov ebx, dword [ecx]
mov dword [eax + 0x40], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x44], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x48], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x4c], ecx
add eax, 0x54
dec edx
jne 0x515b0
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x64], 0x610046
mov dword [ebp - 0x60], 0x740073
mov dword [ebp - 0x5c], 0x610066
mov dword [ebp - 0x58], 0x74
call dword [ebp - 0x1c]
push 0xd
call fcn.00088910
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
mov byte [ebp - 0x10], al
mov eax, dword [edx]
push eax
push 0
push 0
push 0x40
lea ecx, [ebp - 0x30]
push ecx
call dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
push edx
push 0xd
mov ebx, eax
call fcn.00088aa0
test ebx, ebx
js 0x51c0a
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x51c0a
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push eax
push 0x195
call fcn.00049620
push 1
push 0x18f
call fcn.00049620
push 1
push 0x8a3
call fcn.00049620
mov byte [ebp - 5], 1
jmp 0x51c0a
cmp esi, 2
jne 0x5197e
push 0xbcf
call fcn.00049650
mov ecx, eax
push 0xc9a
mov dword [ebp - 0x18], ecx
call fcn.00049650
mov esi, eax
push esi
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
mov eax, edi
call fcn.00050ec0
cmp al, 1
jne 0x51c0a
mov ecx, dword [ebp - 0x10]
push ebx
push edi
xor eax, eax
call fcn.00014be0
cmp al, 1
jne 0x51c0a
mov eax, dword [ebp - 0x18]
add eax, 4
mov edx, 7
mov ecx, dword [eax]
mov dword [eax - 4], 0
test ecx, ecx
je 0x51787
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51787
add ecx, edi
mov dword [eax - 4], 1
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x10], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], 0
test ecx, ecx
je 0x517bd
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x517bd
add ecx, edi
mov dword [eax + 0x18], 1
mov ebx, dword [ecx]
mov dword [eax + 0x24], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x28], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x2c], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x34], 0
test ecx, ecx
je 0x517f3
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x517f3
add ecx, edi
mov dword [eax + 0x34], 1
mov ebx, dword [ecx]
mov dword [eax + 0x40], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x44], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x48], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x4c], ecx
mov ecx, dword [eax + 0x54]
mov dword [eax + 0x50], 0
test ecx, ecx
je 0x51829
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51829
add ecx, edi
mov dword [eax + 0x50], 1
mov ebx, dword [ecx]
mov dword [eax + 0x5c], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x60], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x64], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x68], ecx
add eax, 0x70
dec edx
jne 0x51752
lea eax, [esi + 4]
mov edx, 9
jmp 0x51840
mov ecx, dword [eax]
mov dword [eax - 4], 0
test ecx, ecx
je 0x51875
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51875
add ecx, edi
mov dword [eax - 4], 1
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x10], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], 0
test ecx, ecx
je 0x518ab
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x518ab
add ecx, edi
mov dword [eax + 0x18], 1
mov ebx, dword [ecx]
mov dword [eax + 0x24], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x28], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x2c], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x34], 0
test ecx, ecx
je 0x518e1
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x518e1
add ecx, edi
mov dword [eax + 0x34], 1
mov ebx, dword [ecx]
mov dword [eax + 0x40], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x44], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x48], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x4c], ecx
add eax, 0x54
dec edx
jne 0x51840
mov dword [ebp - 0x5c], edx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x64], 0x74004e
mov dword [ebp - 0x60], 0x730066
call dword [ebp - 0x1c]
push 0xd
call fcn.00088910
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
mov byte [ebp - 0x10], al
mov eax, dword [edx]
push eax
push 0
push 0
push 0x40
lea ecx, [ebp - 0x30]
push ecx
call dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
push edx
push 0xd
mov ebx, eax
call fcn.00088aa0
test ebx, ebx
js 0x51c0a
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x51c0a
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push eax
push 0x194
call fcn.00049620
push 1
push 0x190
call fcn.00049620
push 1
push 0x8a2
call fcn.00049620
mov byte [ebp - 5], 1
jmp 0x51c0a
cmp esi, 1
jne 0x51c07
push 0xd65
call fcn.00049650
mov ecx, eax
push 0xe30
mov dword [ebp - 0x18], ecx
call fcn.00049650
push 0
mov esi, eax
push esi
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
mov eax, edi
call fcn.00050c10
cmp al, 1
jne 0x51c0a
mov ecx, dword [ebp - 0x10]
push ebx
push edi
xor eax, eax
call fcn.00014be0
cmp al, 1
jne 0x51c0a
mov eax, dword [ebp - 0x18]
add eax, 4
mov edx, 7
lea esp, [esp]
mov ecx, dword [eax]
mov dword [eax - 4], 0
test ecx, ecx
je 0x51a15
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51a15
add ecx, edi
mov dword [eax - 4], 1
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x10], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], 0
test ecx, ecx
je 0x51a4b
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51a4b
add ecx, edi
mov dword [eax + 0x18], 1
mov ebx, dword [ecx]
mov dword [eax + 0x24], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x28], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x2c], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x34], 0
test ecx, ecx
je 0x51a81
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51a81
add ecx, edi
mov dword [eax + 0x34], 1
mov ebx, dword [ecx]
mov dword [eax + 0x40], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x44], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x48], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x4c], ecx
mov ecx, dword [eax + 0x54]
mov dword [eax + 0x50], 0
test ecx, ecx
je 0x51ab7
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51ab7
add ecx, edi
mov dword [eax + 0x50], 1
mov ebx, dword [ecx]
mov dword [eax + 0x5c], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x60], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x64], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x68], ecx
add eax, 0x70
dec edx
jne 0x519e0
lea eax, [esi + 4]
mov edx, 9
lea esp, [esp]
mov ecx, dword [eax]
mov dword [eax - 4], 0
test ecx, ecx
je 0x51b05
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51b05
add ecx, edi
mov dword [eax - 4], 1
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x10], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], 0
test ecx, ecx
je 0x51b3b
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51b3b
add ecx, edi
mov dword [eax + 0x18], 1
mov ebx, dword [ecx]
mov dword [eax + 0x24], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x28], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x2c], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x34], 0
test ecx, ecx
je 0x51b71
lea ebx, [ecx + 0x10]
cmp ebx, dword [ebp - 0xc]
ja 0x51b71
add ecx, edi
mov dword [eax + 0x34], 1
mov ebx, dword [ecx]
mov dword [eax + 0x40], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0x44], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0x48], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x4c], ecx
add eax, 0x54
dec edx
jne 0x51ad0
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x64], 0x780065
mov dword [ebp - 0x60], 0x610066
mov dword [ebp - 0x5c], 0x74
call dword [ebp - 0x1c]
push 0xd
call fcn.00088910
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
mov byte [ebp - 0x10], al
mov eax, dword [edx]
push eax
push 0
push 0
push 0x40
lea ecx, [ebp - 0x30]
push ecx
call dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
push edx
push 0xd
mov ebx, eax
call fcn.00088aa0
test ebx, ebx
js 0x51c0a
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x51c0a
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push eax
push 0x2a3
call fcn.00049620
push 1
push 0x2a4
call fcn.00049620
push 1
push 0x8a4
call fcn.00049620
mov byte [ebp - 5], 1
jmp 0x51c0a
mov esi, dword [ebp + 8]
push 0x877
call fcn.00049640
push eax
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp byte [ebp - 5], 1
jne 0x51fff
push 0x2a7
call fcn.00049640
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x51c4d
call fcn.0008b3d0
push 0x2a7
call fcn.00049640
mov edi, eax
mov dword [ebp - 0x10], eax
push 0x4c
call fcn.00049640
push 0x21
mov ecx, eax
call fcn.00049640
mov ebx, eax
push 3
mov dword [ebp - 0x24], ebx
call fcn.00049640
mov edx, eax
test edi, edi
je 0x51cd9
test ecx, ecx
je 0x51fff
test ebx, ebx
je 0x51cd9
test edx, edx
je 0x51cd9
lea eax, [edi + 0x10]
cmp eax, ebx
ja 0x51cd9
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x28], 0x1c
cmp dword [eax], 0
jne 0x51cce
lea ebx, [edx + edi]
mov dword [eax], edi
mov dword [eax - 4], 1
mov dword [eax + 4], ebx
mov edi, dword [ecx + edi]
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x10]
mov edi, dword [ecx + edi + 4]
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x10]
mov edi, dword [ecx + edi + 8]
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x10]
mov edi, dword [ecx + edi + 0xc]
mov dword [eax + 0x14], edi
mov edi, dword [ebp - 0x10]
add eax, 0x1c
dec dword [ebp - 0x28]
jne 0x51c93
mov ebx, dword [ebp - 0x24]
test ecx, ecx
je 0x51fff
test ebx, ebx
je 0x51fff
test edx, edx
je 0x51fff
mov eax, dword [ebp + 8]
mov edi, 1
cmp eax, edi
jne 0x51d7c
push 0x4b10
call fcn.00049640
test eax, eax
je 0x51d36
cmp dword [esi + 0x20], 0
jne 0x51d36
mov dword [esi + 0x20], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], ebx
mov ebx, dword [eax]
mov dword [esi + 0x28], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x2c], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x30], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x34], eax
push 0x4b13
call fcn.00049640
test eax, eax
je 0x51e0a
cmp dword [esi + 0x3c], 0
jne 0x51e0a
mov dword [esi + 0x3c], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], ebx
mov ebx, dword [eax]
mov dword [esi + 0x44], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x48], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x4c], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x50], eax
jmp 0x51e0a
test eax, eax
jne 0x51f5e
push 0x4b10
call fcn.00049640
test eax, eax
je 0x51dbd
cmp dword [esi + 0x20], 0
jne 0x51dbd
mov dword [esi + 0x20], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], ebx
mov ebx, dword [eax]
mov dword [esi + 0x28], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x2c], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x30], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x34], eax
push 0x4b13
call fcn.00049640
test eax, eax
je 0x51df6
cmp dword [esi + 0x3c], 0
jne 0x51df6
mov dword [esi + 0x3c], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], ebx
mov ebx, dword [eax]
mov dword [esi + 0x44], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x48], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x4c], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x50], eax
mov ebx, dword [sym.imp.ntoskrnl.exe_NtBuildNumber]
mov eax, 0x1772
cmp word [ebx], ax
jb 0x51fff
push 0x4b16
call fcn.00049640
test eax, eax
je 0x51e5b
cmp dword [esi + 0x1c4], 0
jne 0x51e5b
mov dword [esi + 0x1c4], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x1c8], ebx
mov ebx, dword [eax]
mov dword [esi + 0x1cc], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x1d0], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x1d4], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x1d8], eax
push 0x4b19
call fcn.00049640
test eax, eax
je 0x51eac
cmp dword [esi + 0x1fc], 0
jne 0x51eac
mov dword [esi + 0x1fc], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x200], ebx
mov ebx, dword [eax]
mov dword [esi + 0x204], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x208], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x20c], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x210], eax
push 0x4b1c
call fcn.00049640
test eax, eax
je 0x51efd
cmp dword [esi + 0x1a8], 0
jne 0x51efd
mov dword [esi + 0x1a8], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x1ac], ebx
mov ebx, dword [eax]
mov dword [esi + 0x1b0], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x1b4], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x1b8], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x1bc], eax
push 0x4b1f
call fcn.00049640
test eax, eax
je 0x51fff
cmp dword [esi + 0x1e0], 0
jne 0x51fff
add edx, eax
add ecx, eax
mov dword [esi + 0x1dc], edi
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], edx
mov eax, dword [ecx]
mov dword [esi + 0x1e8], eax
mov edx, dword [ecx + 4]
mov dword [esi + 0x1ec], edx
mov eax, dword [ecx + 8]
mov dword [esi + 0x1f0], eax
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0x1f4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4b16
call fcn.00049640
test eax, eax
je 0x51faf
cmp dword [esi + 0x1c4], 0
jne 0x51faf
mov dword [esi + 0x1c4], eax
lea ebx, [eax + edx]
add eax, ecx
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x1c8], ebx
mov ebx, dword [eax]
mov dword [esi + 0x1cc], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 0x1d0], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 0x1d4], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x1d8], eax
push 0x4b19
call fcn.00049640
test eax, eax
je 0x51fff
cmp dword [esi + 0x1fc], 0
jne 0x51fff
add edx, eax
add ecx, eax
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x1fc], eax
mov dword [esi + 0x200], edx
mov eax, dword [ecx]
mov dword [esi + 0x204], eax
mov edx, dword [ecx + 4]
mov dword [esi + 0x208], edx
mov eax, dword [ecx + 8]
mov dword [esi + 0x20c], eax
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0x210], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4