Function at 0x402260
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0x38], esp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x403300
mov eax, dword fs:[0]
mov dword [esi + 0xd0], eax
lea eax, [esi + 0xd0]
mov dword fs:[0], eax
xorps xmm1, xmm1
movaps xmmword [esi + 0xa0], xmm1
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0xf
push eax
sub esp, 0x30
mov dword [esi + 0xc], esp
mov eax, 0x9a1060f8
mov ecx, 0x1ac7df6a
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], eax
mov eax, 0xa7fda191
mov ecx, 0x31f1ad63
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov eax, 0xb58f53f0
mov ecx, 0x3ccb1373
mov dword [esi + 0x74], ecx
mov dword [esi + 0x70], eax
mov ecx, 0x4c144c52
mov eax, 0xfa81d23b
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x3c], eax
mov eax, 0x9a7560ab
mov ecx, 0x1aaedf18
mov dword [esi + 0x14], eax
mov edi, ecx
mov ecx, 0xa791a1f0
mov eax, 0x3184ad2d
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov ebx, 0xb5ed539d
mov eax, 0x3cb91316
lea ecx, [esi + 0x40]
xor edx, edx
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x7c], edx
mov edx, dword [esi + 0x8c]
mov dword [esi + 0x78], edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x44], edi
mov edi, dword [esi + 0x14]
mov dword [esi + 0x40], edi
mov edi, dword [esi + 0x18]
mov dword [esi + 0x4c], edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x48], edi
mov dword [esi + 0xc0], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0xc4], ebx
mov dword [esi + 0x50], ebx
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], edx
movaps xmm0, xmmword [esi + 0x60]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi + 0x60], xmm0
movaps xmm0, xmmword [esi + 0x70]
xorps xmm0, xmmword [ecx + 0x10]
movaps xmmword [esi + 0x70], xmm0
mov eax, dword [esi + 0xc]
movups xmmword [eax + 0x1c], xmm1
mov dword [eax + 0x30], 0
mov dword [eax + 0x2c], 0
lea ebx, [eax + 0x1c]
mov dword [esi + 8], 0
lea edi, [esi + 0x60]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov dword [esi + 0xd8], 0
mov dword [esi + 0x88], ebx
mov ecx, ebx
push eax
push edi
call fcn.00403060
mov eax, 0xa91b09fc
mov ecx, 0x7bec802a
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xc8d3c483
mov ecx, 0x31e0df4c
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x40]
mov ecx, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x48], ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
mov ebx, dword [esi + 0xc]
xorps xmm0, xmm0
movups xmmword [ebx + 4], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [esi + 0x20]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
js 0x402be9
cmp eax, 0xf
mov dword [esi + 8], eax
ja 0x40246e
mov edi, ebx
add edi, 4
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0xf
push eax
jmp 0x4024e3
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [esi + 0x84], ecx
jb 0x4024b1
lea eax, [ecx + 0x24]
mov byte [esi + 5], 1
mov dword [esi + 0xd8], 3
push eax
call fcn.00419422
add esp, 4
mov edi, eax
add edi, 0x23
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4024cd
lea eax, [ecx + 1]
mov byte [esi + 5], 1
mov dword [esi + 0xd8], 3
push eax
call fcn.00419422
add esp, 4
mov edi, eax
mov ebx, dword [esi + 0xc]
mov dword [ebx + 4], edi
mov ecx, dword [esi + 8]
mov dword [ebx + 0x14], ecx
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x18], eax
push ecx
lea eax, [esi + 0x20]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
add eax, edi
mov byte [eax], 0
lea eax, [esi + 0xa0]
mov dword [ebx], eax
mov byte [esi + 5], 0
mov dword [esi + 0xd8], 3
call fcn.00401890
add esp, 0x34
mov esp, dword [esi + 0x38]
cmp dword [esi + 0xb0], 4
mov ebx, dword [esi + 0x14]
jne 0x402546
cmp dword [esi + 0xb4], 0x10
lea eax, [esi + 0xa0]
jb 0x40253a
mov eax, dword [esi + 0xa0]
cmp dword [eax], 0x656e6f4e
je 0x402b19
mov dword [esi + 0x38], esp
push eax
sub esp, 0x30
mov edx, esp
mov eax, 0x9a1460e8
mov ecx, 0x1adadf68
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], eax
mov eax, 0xa7fea199
mov ecx, 0x3184ad43
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
xor eax, eax
lea ecx, [esi + 0x40]
lea edi, [edx + 0x1c]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x48], eax
movaps xmm0, xmmword [esi + 0x60]
xorps xmm0, xmmword [ecx]
mov dword [esi + 8], 0
movaps xmmword [esi + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [edx + 0x1c], xmm0
mov dword [edx + 0x30], 0
mov dword [esi + 0xc], edx
mov dword [edx + 0x2c], 0
lea ebx, [esi + 0x60]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov dword [esi + 0xd8], 0
mov dword [esi + 0x88], edi
mov ecx, edi
push eax
push ebx
call fcn.00403060
mov eax, 0xa91b09fc
mov ecx, 0x73ea802a
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xd5d5ca83
mov ecx, 0x31e1db44
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x40]
mov ecx, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x48], ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
mov ebx, dword [esi + 0xc]
xorps xmm0, xmm0
movups xmmword [ebx + 4], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [esi + 0x20]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
js 0x402bfc
cmp eax, 0xf
mov dword [esi + 8], eax
ja 0x40266a
mov edi, ebx
add edi, 4
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0xf
push eax
jmp 0x4026df
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [esi + 0x84], ecx
jb 0x4026ad
lea eax, [ecx + 0x24]
mov byte [esi + 6], 1
mov dword [esi + 0xd8], 2
push eax
call fcn.00419422
add esp, 4
mov edi, eax
add edi, 0x23
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4026c9
lea eax, [ecx + 1]
mov byte [esi + 6], 1
mov dword [esi + 0xd8], 2
push eax
call fcn.00419422
add esp, 4
mov edi, eax
mov ebx, dword [esi + 0xc]
mov dword [ebx + 4], edi
mov ecx, dword [esi + 8]
mov dword [ebx + 0x14], ecx
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x18], eax
push ecx
lea eax, [esi + 0x20]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
add eax, edi
mov byte [eax], 0
lea eax, [esi + 0xa0]
mov dword [ebx], eax
mov byte [esi + 6], 0
mov dword [esi + 0xd8], 2
call fcn.00401890
add esp, 0x34
mov esp, dword [esi + 0x38]
mov edx, 0xfb022dfd
mov edi, 0x1aaeba6a
xor eax, eax
lea ecx, [esi + 0x40]
mov dword [esi + 8], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0xc], edx
mov dword [esi + 0x60], edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x6c], edx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x68], eax
mov edi, dword [esi + 0x10]
mov dword [esi + 0x44], edi
mov ebx, dword [esi + 0x14]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], eax
movaps xmm0, xmmword [esi + 0x60]
xorps xmm0, xmmword [ecx]
xor edi, edi
movaps xmmword [esi + 0x60], xmm0
lea ecx, [esi + 0xa0]
push 0
lea eax, [esi + 0x60]
push eax
call fcn.00402ce0
cmp eax, 0xffffffff
jne 0x402b19
mov eax, 0xc23a22fd
mov ecx, 0x1aaedf18
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x40]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x28], ecx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x2c], edx
mov edi, dword [esi + 0x10]
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ecx, [esi + 0xa0]
push 0
lea eax, [esi + 0x20]
push eax
call fcn.00402ce0
cmp eax, 0xffffffff
jne 0x402b19
mov eax, 0xee0709fd
mov edi, 0x3ac2be6d
mov dword [esi + 0x94], edi
mov dword [esi + 0x88], eax
mov dword [esi + 0x90], eax
mov eax, 0xa791e5b8
mov ecx, 0x3184ad2d
mov dword [esi + 0x9c], ecx
mov dword [esi + 0x98], eax
xor eax, eax
lea ecx, [esi + 0x40]
mov edx, ebx
mov ebx, 0x3184ad2d
mov eax, dword [esi + 0x10]
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], edx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x48], eax
movaps xmm0, xmmword [esi + 0x90]
xorps xmm0, xmmword [ecx]
mov dword [esi + 0x38], 0
movaps xmmword [esi + 0x90], xmm0
lea eax, [esi + 0x90]
lea ecx, [esi + 0xa0]
push 0
push eax
call fcn.00402ce0
cmp eax, 0xffffffff
jne 0x402b19
mov dword [esi + 0xbc], edi
mov dword [esi + 0x84], esp
push eax
sub esp, 0x30
mov edx, esp
mov eax, 0x9a1a60e6
mov ecx, 0x1acbdf7c
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xa791a19c
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x40]
mov ecx, dword [esi + 0x38]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x48], ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
lea ebx, [edx + 0x1c]
movaps xmmword [esi + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [edx + 0x1c], xmm0
mov dword [edx + 0x30], 0
mov dword [esi + 0x38], edx
mov dword [edx + 0x2c], 0
lea edi, [esi + 0x20]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov dword [esi + 0xd8], 0
mov dword [esi + 0xb8], ebx
mov ecx, ebx
push eax
push edi
call fcn.00403060
mov eax, 0xa91b09fc
mov ecx, 0x75cd802a
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], eax
mov eax, 0xd3e4d19d
mov ecx, 0x48f7df48
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov eax, 0xd88827ee
mov ecx, 0x3cb91316
mov dword [esi + 0x74], ecx
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0xc4]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
xor eax, eax
lea ecx, [esi + 0x40]
movaps xmm0, xmmword [esi + 0x60]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi + 0x60], xmm0
movaps xmm0, xmmword [esi + 0x70]
xorps xmm0, xmmword [ecx + 0x10]
movaps xmmword [esi + 0x70], xmm0
mov edi, dword [esi + 0x38]
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
lea eax, [esi + 0x60]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
js 0x402c15
mov ecx, eax
cmp eax, 0xf
mov dword [esi + 0x3c], eax
ja 0x4029b9
mov ebx, edi
add ebx, 4
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 0xf
push ecx
jmp 0x402a30
mov eax, ecx
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [esi + 0x8c], ecx
jb 0x4029fe
lea eax, [ecx + 0x24]
mov byte [esi + 7], 1
mov dword [esi + 0xd8], 1
push eax
call fcn.00419422
add esp, 4
mov ebx, eax
add ebx, 0x23
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x402a1a
lea eax, [ecx + 1]
mov byte [esi + 7], 1
mov dword [esi + 0xd8], 1
push eax
call fcn.00419422
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
mov dword [edi + 4], ebx
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 0x8c]
mov dword [edi + 0x18], ecx
push eax
lea eax, [esi + 0x60]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x3c]
add esp, 0xc
add eax, ebx
lea ebx, [esi + 0xa0]
mov byte [eax], 0
mov dword [edi], ebx
mov byte [esi + 7], 0
mov dword [esi + 0xd8], 1
call fcn.00401890
add esp, 0x34
mov esp, dword [esi + 0x84]
mov eax, dword [esi + 8]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x60], eax
xor eax, eax
lea ecx, [esi + 0x40]
mov edi, dword [esi + 0x18]
mov dword [esi + 0x6c], edi
mov ebx, dword [esi + 0x1c]
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], ebx
movaps xmm0, xmmword [esi + 0x60]
xorps xmm0, xmmword [ecx]
mov dword [esi + 0xc], 0
movaps xmmword [esi + 0x60], xmm0
lea ecx, [esi + 0xa0]
push 0
lea eax, [esi + 0x60]
push eax
call fcn.00402ce0
cmp eax, 0xffffffff
jne 0x402b19
mov eax, 0xee0709fd
mov ecx, 0x58c2be6d
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xa791d99f
mov ecx, 0x3184ad2d
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x40]
mov ecx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], ebx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ecx, [esi + 0xa0]
push 0
lea eax, [esi + 0x20]
push eax
call fcn.00402ce0
cmp eax, 0xffffffff
je 0x402b72
mov ebx, 1
mov eax, dword [esi + 0xb4]
cmp eax, 0x10
jb 0x402b5c
mov ecx, dword [esi + 0xa0]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x402b52
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x402c0f
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00419457
add esp, 8
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x88]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0xbc]
mov dword [esi + 0x94], eax
mov eax, 0xcff2c0bd
mov ecx, 0x31e1c344
mov dword [esi + 0x9c], ecx
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], ebx
xor eax, eax
lea ecx, [esi + 0x40]
movaps xmm0, xmmword [esi + 0x90]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi + 0x90], xmm0
lea ecx, [esi + 0xa0]
push 0
lea eax, [esi + 0x90]
push eax
call fcn.00402ce0
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
jmp 0x402b1e
mov byte [esi + 5], 1
mov dword [esi + 0xd8], 3
call fcn.00402df0
mov byte [esi + 6], 1
mov dword [esi + 0xd8], 2
call fcn.00402df0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [esi + 7], 1
mov dword [esi + 0xd8], 1
call fcn.00402df0
nop dword [eax + eax]
push ebp
sub esp, 0x34
lea esi, [ebp - 0xdc]
mov ebp, dword [esi + 0xc8]
cmp byte [esi + 5], 1
jne 0x402c51
mov ecx, dword [esi + 0x88]
call fcn.00402200
add esp, 0x34
pop ebp
ret