Function at 0x10040330
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008830a
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x100b9268]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x24], 0x3134f23
lea esi, [edi + 0x1ad4]
mov dword [ebp - 0x20], 0x5e42636e
mov byte [ebp - 0x1c], 0x4b
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x14], 0x735a506d
mov dword [ebp - 0x34], 0x1b06422a
mov dword [ebp - 0x30], 0x1c04387f
mov dword [ebp - 0x2c], 0x1e085865
mov byte [ebp - 0x28], 0x1d
nop word [eax + eax]
test byte [edi + 0x138c], 1
push 0x100bff60
jne 0x10040424
mov eax, dword [eax]
or dword [eax + 0x138c], 1
mov dword [ebp - 4], 0
lea esi, [eax + 0x1ad4]
xorps xmm0, xmm0
mov byte [esi + 9], 1
movlpd qword [ebp - 0x68], xmm0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi], al
add ecx, 1
adc edx, 0
jne 0x1004040a
cmp ecx, 9
jb 0x100403f6
push 0x10099150
call fcn.10080876
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x1ad4]
mov ecx, esi
call fcn.10074a90
sub esp, 0x18
mov ecx, esi
mov edx, esp
mov dword [ebp - 0x98], esp
lea esi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040450
sub ecx, esi
lea eax, [edi + 0x1ad4]
push ecx
push eax
mov ecx, edx
call fcn.1007d1d0
mov dword [ebp - 4], 1
test byte [edi + 0x4530], 1
jne 0x100404c5
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
or dword [eax + 0x4530], 1
mov byte [ebp - 4], 2
lea esi, [eax + 0xab4]
xorps xmm0, xmm0
mov byte [esi + 4], 1
movlpd qword [ebp - 0x68], xmm0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov al, byte [ebp + ecx - 0x14]
mov byte [ecx + esi], al
add ecx, 1
adc edx, 0
jne 0x100404b4
cmp ecx, 4
jb 0x100404a0
push 0x100991a0
call fcn.10080876
add esp, 4
mov byte [ebp - 4], 1
lea esi, [edi + 0xab4]
mov ecx, esi
call fcn.10074af0
mov ecx, esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100404f6
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.1007d1d0
mov byte [ebp - 4], 3
test byte [edi + 0xbb8], 1
movaps xmm0, xmmword [0x100a8090]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x348093d
mov dword [ebp - 0x4c], 0x4c08667f
mov byte [ebp - 0x48], 0x4b
jne 0x10040585
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
or dword [eax + 0xbb8], 1
mov byte [ebp - 4], 4
lea esi, [eax + 0x400]
xorps xmm0, xmm0
mov byte [esi + 0x19], 1
movlpd qword [ebp - 0x68], xmm0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
nop
mov al, byte [ebp + ecx - 0x60]
mov byte [ecx + esi], al
add ecx, 1
adc edx, 0
jne 0x10040574
cmp ecx, 0x19
jb 0x10040560
push 0x100991f0
call fcn.10080876
add esp, 4
mov byte [ebp - 4], 3
lea esi, [edi + 0x400]
mov ecx, esi
call fcn.10074b50
mov ecx, esi
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100405c0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xb0]
call fcn.1007d1d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
cmp dword [0x100b84a8], 0x10
mov eax, 0x100b8494
push dword [0x100b84a4]
cmovae eax, dword [0x100b8494]
push eax
call fcn.1006b7e0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x98]
lea ecx, [ebp - 0xe0]
call fcn.1007efa0
sub esp, 0x18
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x70], esp
mov dword [ebp - 0x64], esi
lea ecx, [ebp - 0xe0]
cmp dword [0x100b88dc], 0x10
mov eax, 0x100b88c8
push dword [0x100b88d8]
cmovae eax, dword [0x100b88c8]
push eax
call fcn.1006b7e0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
test byte [edi + 0x2424], 1
jne 0x10040715
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
or dword [eax + 0x2424], 1
mov byte [ebp - 4], 9
lea esi, [eax + 0x42a4]
xorps xmm0, xmm0
mov byte [esi + 0xd], 1
movlpd qword [ebp - 0x68], xmm0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x34]
mov byte [eax + esi], cl
add eax, 1
adc edx, 0
jne 0x10040704
cmp eax, 0xd
jb 0x100406f0
push 0x10099240
call fcn.10080876
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [edi + 0x42a4]
call fcn.10074bb0
sub esp, 0x18
lea ecx, [edi + 0x42a4]
mov edx, esp
lea esi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040742
sub ecx, esi
push ecx
lea ecx, [edi + 0x42a4]
push ecx
mov ecx, edx
call fcn.1007d1d0
mov ecx, dword [0x100ba35c]
mov eax, dword [ecx]
mov byte [ebp - 4], 0xd
call dword [eax]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xcc]
cmp edx, 0x10
jb 0x100407a6
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004079c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
cmp edx, 0x10
jb 0x100407ff
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100407f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x1004083d
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10040833
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp edx, 0x10
jb 0x10040896
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004088c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov ecx, dword [0x100bed90]
mov edx, 0x100b8880
cmp dword [0x100b8894], 0x10
push 0x100bff60
cmovae edx, dword [0x100b8880]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10040da9
mov ecx, 0x100bff60
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100408d0
sub ecx, edx
cmp ecx, 0x20
jae 0x100408e7
cmp ecx, 1
ja 0x10040da9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x48bc]
mov dword [ebp - 0x18], 0xbf2880f5
push 0x100bff60
push 0
push 0
test al, 1
jne 0x1004095d
or eax, 1
mov dword [edi + 0x48bc], eax
mov dword [ebp - 4], 0xe
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov byte [edi + 0x2488], 1
mov al, byte [ebp + ecx - 0x18]
mov byte [ecx + edi + 0x2484], al
add ecx, 1
adc edx, 0
jne 0x10040949
cmp ecx, 4
jb 0x10040931
push 0x10099060
call fcn.10080876
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x2484]
mov ecx, esi
call fcn.10074970
mov ecx, esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040990
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.1007d1d0
mov dword [ebp - 4], 0xf
movaps xmm0, xmmword [0x100a8130]
mov eax, dword [edi + 0xd54]
mov dword [ebp - 0x50], 0xcf3ad9a5
mov dword [ebp - 0x4c], 0x703e647f
mov byte [ebp - 0x48], 0xd3
movups xmmword [ebp - 0x60], xmm0
test al, 1
jne 0x10040a29
or eax, 1
mov dword [edi + 0xd54], eax
mov byte [ebp - 4], 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov byte [edi + 0x4949], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x60]
mov byte [edi + ecx + 0x4930], al
add ecx, 1
adc edx, 0
jne 0x10040a18
cmp ecx, 0x19
jb 0x10040a00
push 0x100990b0
call fcn.10080876
add esp, 4
mov byte [ebp - 4], 0xf
lea esi, [edi + 0x4930]
mov ecx, esi
call fcn.100749d0
mov ecx, esi
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040a60
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xc8]
call fcn.1007d1d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xc8]
cmp dword [0x100b84a8], 0x10
mov eax, 0x100b8494
push dword [0x100b84a4]
cmovae eax, dword [0x100b8494]
push eax
call fcn.1006b7e0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0xf8]
call fcn.1007efa0
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov esi, esp
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0xf8]
cmp dword [0x100b88dc], 0x10
mov eax, 0x100b88c8
push dword [0x100b88d8]
cmovae eax, dword [0x100b88c8]
push eax
call fcn.1006b7e0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x14
mov eax, dword [edi + 0x496c]
mov dword [ebp - 0x44], 0xd77492b2
mov dword [ebp - 0x40], 0x20323a7f
mov dword [ebp - 0x3c], 0xd27a88fd
mov byte [ebp - 0x38], 0x1d
test al, 1
jne 0x10040bc9
or eax, 1
mov dword [edi + 0x496c], eax
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
mov byte [edi + 0x22b5], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x44]
mov byte [ecx + edi + 0x22a8], al
add ecx, 1
adc edx, 0
jne 0x10040bb8
cmp ecx, 0xd
jb 0x10040ba0
push 0x10099100
call fcn.10080876
add esp, 4
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x22a8]
mov ecx, esi
call fcn.10074a30
sub esp, 0x18
mov ecx, esi
mov edx, esp
lea edi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040bf4
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.1007d1d0
mov ecx, dword [0x100ba35c]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x13
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x10040c53
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10040c49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x10040cac
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10040ca2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x10040cea
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10040ce0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
cmp edx, 0x10
jb 0x10040d3f
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10040d35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040da3
push edx
push ecx
call fcn.100807bf
add esp, 8
mov ecx, dword [0x100bed90]
mov edx, 0x100b8880
cmp dword [0x100b8894], 0x10
push 0x100bff60
cmovae edx, dword [0x100b8880]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10040da9
mov ecx, 0x100bff60
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040d71
sub ecx, edx
cmp ecx, 0x20
jae 0x10040d84
cmp ecx, 1
ja 0x10040da9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x94]
jmp 0x100403c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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.1007fe99
mov esp, ebp
pop ebp
ret