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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x100d6084]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov esi, ecx
mov dword [esp + 0x48], esi
mov byte [esp + 0x2c], 0x47
mov al, 0x33
xor al, byte [esp + 0x2c]
mov dl, 0x29
xor dl, byte [esp + 0x2c]
mov dh, 0x28
mov byte [esp + 0x3d], dh
mov ah, 0x18
mov byte [esp + 0x2e], al
mov byte [esp + 0x13], 0x25
mov dh, byte [esp + 0x13]
xor dh, byte [esp + 0x2c]
mov byte [esp + 0x3e], 0x34
mov al, byte [esp + 0x3e]
mov byte [esp + 0x2f], dl
mov dl, byte [esp + 0x2c]
xor al, dl
mov byte [esp + 0x13], dh
mov byte [esp + 0x2d], dh
mov dh, byte [esp + 0x3d]
mov cl, 0x24
mov byte [esp + 0x34], al
mov ch, 0x2b
mov byte [esp + 0x2b], 0x22
xor ah, dl
mov al, byte [esp + 0x2b]
xor cl, dl
xor ch, dl
mov byte [esp + 0x36], 0
xor dh, dl
xor al, dl
mov byte [esp + 0x30], ah
cmp byte [esp + 0x13], 0
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], ch
mov byte [esp + 0x33], dh
mov byte [esp + 0x35], al
mov byte [esp + 0x36], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004ee5d
xor ecx, ecx
jmp 0x1004ee6d
lea ecx, [esp + 0x2d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ee64
sub ecx, edx
push ecx
lea eax, [esp + 0x31]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x90]
call fcn.1001b710
mov dword [esi + 4], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004eeb1
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
mov cl, 0x5b
mov dword [esp + 0x18], 0x34293c5b
mov dword [esp + 0x1c], 0x38042b2e
xor eax, eax
mov dword [esp + 0x20], 0x3e2f3534
mov word [esp + 0x24], 0x2f35
mov byte [esp + 0x26], 0
nop dword [eax]
xor byte [esp + eax + 0x19], cl
inc eax
cmp eax, 0xd
jae 0x1004eef0
mov cl, byte [esp + 0x18]
jmp 0x1004eee0
cmp byte [esp + 0x19], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004ef1e
xor ecx, ecx
jmp 0x1004ef2e
lea ecx, [esp + 0x19]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ef25
sub ecx, edx
push ecx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x90]
call fcn.1001b710
mov dword [esi + 8], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004ef72
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
xor eax, eax
mov dword [esp + 0x4c], 5
lea edi, [esi + 0xc]
mov dword [esp + 0x40], eax
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop dword [eax]
push eax
mov cl, 0x69
mov dword [esp + 0x30], 0x1d111d69
mov dword [esp + 0x34], 0xc0c0736
xor eax, eax
mov dword [esp + 0x38], 0xd4c360d
mov byte [esp + 0x3c], 0
xor byte [esp + eax + 0x31], cl
inc eax
cmp eax, 0xb
jae 0x1004efc2
mov cl, byte [esp + 0x30]
jmp 0x1004efb2
sub esp, 0x18
mov byte [esp + 0x54], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1004eff2
mov eax, dword [edx]
jmp 0x1004eff4
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x49], 0
jne 0x1004f002
xor ecx, ecx
jmp 0x1004f01b
lea ecx, [esp + 0x49]
lea eax, [ecx + 1]
mov dword [esp + 0x60], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f010
sub ecx, dword [esp + 0x60]
push ecx
lea eax, [esp + 0x4d]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [esp + 0x94]
push eax
call fcn.1000f620
mov ecx, dword [esp + 0x68]
add esp, 0x20
mov edx, eax
mov ecx, dword [ecx + 8]
call fcn.1001b710
mov dword [edi + 4], eax
mov eax, dword [esp + 0x8c]
cmp eax, 0x10
jb 0x1004f064
inc eax
lea ecx, [esp + 0x78]
push eax
push dword [esp + 0x7c]
call fcn.10002720
push dword [esp + 0x40]
mov cl, 0x3c
mov dword [esp + 0x1c], 0x594e5d3c
mov dword [esp + 0x20], 0x5952635d
xor eax, eax
mov dword [esp + 0x24], 0x19635859
mov word [esp + 0x28], 0x58
nop dword [eax + eax]
xor byte [esp + eax + 0x1d], cl
inc eax
cmp eax, 0xc
jae 0x1004f0a0
mov cl, byte [esp + 0x1c]
jmp 0x1004f090
sub esp, 0x18
mov byte [esp + 0x41], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1004f0d0
mov eax, dword [edx]
jmp 0x1004f0d2
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x35], 0
jne 0x1004f0e0
xor ecx, ecx
jmp 0x1004f0fb
lea ecx, [esp + 0x35]
lea eax, [ecx + 1]
mov dword [esp + 0x60], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f0f0
sub ecx, dword [esp + 0x60]
push ecx
lea eax, [esp + 0x39]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [esp + 0x94]
push eax
call fcn.1000f620
mov edx, eax
add esp, 0x20
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
call fcn.1001b710
mov dword [edi + 8], eax
mov eax, dword [esp + 0x8c]
cmp eax, 0x10
jb 0x1004f144
inc eax
lea ecx, [esp + 0x78]
push eax
push dword [esp + 0x7c]
call fcn.10002720
call fcn.100189a0
test eax, eax
je 0x1004f32c
mov dword [edi], eax
call fcn.1001bdf0
mov ecx, eax
call dword [0x100c6850]
test eax, eax
je 0x1004f32c
mov ecx, dword [edi]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [edi]
mov dword [esp + 0x44], edx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004f1ac
push 4
push eax
call esi
test eax, eax
jne 0x1004f1ac
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1004f1ac
push 4
push eax
call esi
test eax, eax
jne 0x1004f1ac
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004f1f5
push 4
push eax
call esi
test eax, eax
jne 0x1004f1f5
mov ecx, dword [esp + 0x14]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100c6860]
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004f22a
push 4
push eax
call esi
test eax, eax
jne 0x1004f22a
mov eax, dword [esp + 0x14]
add eax, 0xcc
push 4
push eax
mov dword [esp + 0x1c], eax
call esi
test eax, eax
jne 0x1004f22a
mov eax, dword [esp + 0x14]
mov dword [eax], 0xb
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004f24e
push 4
push eax
call esi
test eax, eax
jne 0x1004f24e
mov ecx, dword [esp + 0x14]
push pe_nt_image_headers32
call dword [0x100c682c]
mov esi, dword [edi + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
test esi, esi
je 0x1004f2ab
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call eax
test eax, eax
jne 0x1004f2ab
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi]
movaps xmm0, xmmword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
movaps xmmword [esp + 0x90], xmm0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004f2e5
push 4
push eax
call esi
test eax, eax
jne 0x1004f2e5
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
call dword [0x100c685c]
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004f30c
push 4
push eax
call esi
test eax, eax
jne 0x1004f30c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
call dword [0x100c6808]
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004f32c
push 4
push eax
call esi
test eax, eax
jne 0x1004f32c
mov ecx, dword [esp + 0x14]
push eax
call dword [0x100c681c]
mov eax, dword [esp + 0x40]
add edi, 0xc
inc eax
sub dword [esp + 0x4c], 1
mov dword [esp + 0x40], eax
jne 0x1004ef90
mov cl, 0x3e
mov dword [esp + 0x18], 0x4c4a4d3e
mov dword [esp + 0x1c], 0x535b4c61
xor eax, eax
mov dword [esp + 0x20], 0x5750575f
mov word [esp + 0x24], 0x5950
mov byte [esp + 0x26], 0
nop dword [eax + eax]
xor byte [esp + eax + 0x19], cl
inc eax
cmp eax, 0xd
jae 0x1004f380
mov cl, byte [esp + 0x18]
jmp 0x1004f370
cmp byte [esp + 0x19], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004f3ae
xor ecx, ecx
jmp 0x1004f3be
lea ecx, [esp + 0x19]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f3b5
sub ecx, edx
push ecx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x90]
mov ecx, dword [esi]
call fcn.1001b710
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004f406
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
mov cl, 0x4d
mov dword [esp + 0x18], 0x223f2a4d
mov dword [esp + 0x1c], 0x29123d38
xor eax, eax
mov dword [esp + 0x20], 0x242c3928
mov word [esp + 0x24], 0x21
nop dword [eax]
xor byte [esp + eax + 0x19], cl
inc eax
cmp eax, 0xc
jae 0x1004f440
mov cl, byte [esp + 0x18]
jmp 0x1004f430
cmp byte [esp + 0x19], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004f46e
xor ecx, ecx
jmp 0x1004f47e
lea ecx, [esp + 0x19]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f475
sub ecx, edx
push ecx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x90]
call fcn.1001b710
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004f4c2
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
movaps xmm0, xmmword [0x100c8c90]
xor ecx, ecx
movups xmmword [esp + 0x90], xmm0
mov byte [esp + 0xa0], 0
nop dword [eax + eax]
mov al, byte [esp + 0x90]
xor byte [esp + ecx + 0x91], al
inc ecx
cmp ecx, 0xf
jb 0x1004f4e0
cmp byte [esp + 0x91], 0
mov byte [esp + 0xa0], 0
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jne 0x1004f51f
xor ecx, ecx
jmp 0x1004f539
lea ecx, [esp + 0x91]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f530
sub ecx, edx
push ecx
lea eax, [esp + 0x95]
push eax
lea ecx, [esp + 0x58]
call fcn.10002840
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x50]
call fcn.1001b710
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x64]
cmp eax, 0x10
jb 0x1004f572
inc eax
lea ecx, [esp + 0x50]
push eax
push dword [esp + 0x54]
call fcn.10002720
mov byte [esp + 0x2c], 0x6a
mov al, 0x1e
mov ah, al
mov byte [esp + 0x3e], 1
xor al, byte [esp + 0x2c]
mov cl, 0x18
xor cl, byte [esp + 0x2c]
mov dh, 9
mov byte [esp + 0x2e], al
mov dl, 0x35
mov al, byte [esp + 0x3e]
mov ch, 3
mov byte [esp + 0x2f], cl
mov cl, byte [esp + 0x2c]
xor al, cl
mov byte [esp + 0x2b], dh
mov byte [esp + 0x34], al
xor dl, cl
mov byte [esp + 0x13], 0x19
xor ch, cl
mov dh, byte [esp + 0x13]
xor dh, byte [esp + 0x2c]
mov byte [esp + 0x3d], 0xf
mov al, byte [esp + 0x3d]
xor al, cl
mov byte [esp + 0x13], dh
mov byte [esp + 0x3f], ah
xor ah, cl
mov byte [esp + 0x2d], dh
mov dh, byte [esp + 0x2b]
mov byte [esp + 0x35], al
xor dh, cl
mov al, byte [esp + 0x3f]
xor al, cl
mov byte [esp + 0x37], 0
cmp byte [esp + 0x13], 0
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], ah
mov byte [esp + 0x32], ch
mov byte [esp + 0x33], dh
mov byte [esp + 0x36], al
mov byte [esp + 0x37], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004f62b
xor ecx, ecx
jmp 0x1004f63b
lea ecx, [esp + 0x2d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f632
sub ecx, edx
push ecx
lea eax, [esp + 0x31]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x90]
call fcn.1001b710
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004f680
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
mov byte [esp + 0x2c], 0x75
mov al, 1
xor al, byte [esp + 0x2c]
mov cl, 7
xor cl, byte [esp + 0x2c]
mov dh, 0x14
mov byte [esp + 0x2e], al
mov dl, 0x2a
mov byte [esp + 0x2b], 0x1b
mov ah, 0x16
mov al, byte [esp + 0x2b]
mov ch, 0x1d
mov byte [esp + 0x2f], cl
mov cl, byte [esp + 0x2c]
xor al, cl
mov byte [esp + 0x3f], dh
mov byte [esp + 0x34], al
xor dl, cl
mov byte [esp + 0x13], 6
xor ah, cl
mov dh, byte [esp + 0x13]
xor ch, cl
xor dh, byte [esp + 0x2c]
mov byte [esp + 0x3e], 0x12
mov al, byte [esp + 0x3e]
xor al, cl
mov byte [esp + 0x13], dh
mov byte [esp + 0x2d], dh
mov dh, byte [esp + 0x3f]
mov byte [esp + 0x35], al
xor dh, cl
mov byte [esp + 0x3d], 0x10
mov al, byte [esp + 0x3d]
xor al, cl
mov byte [esp + 0x37], 0
cmp byte [esp + 0x13], 0
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], ah
mov byte [esp + 0x32], ch
mov byte [esp + 0x33], dh
mov byte [esp + 0x36], al
mov byte [esp + 0x37], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004f73a
xor ecx, ecx
jmp 0x1004f74a
lea ecx, [esp + 0x2d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f741
sub ecx, edx
push ecx
lea eax, [esp + 0x31]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x90]
call fcn.1001b710
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004f78f
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
mov dh, 0x70
mov byte [esp + 0x2c], 0x19
mov byte [esp + 0x3f], dh
mov al, 0x6d
xor al, byte [esp + 0x2c]
mov cl, 0x77
mov byte [esp + 0x13], 0x7b
mov dl, 0x46
mov dh, byte [esp + 0x13]
mov ah, 0x73
xor dh, byte [esp + 0x2c]
mov ch, 0x76
mov byte [esp + 0x13], dh
mov byte [esp + 0x2e], al
mov al, byte [esp + 0x2c]
mov byte [esp + 0x2d], dh
xor dl, al
mov dh, byte [esp + 0x3f]
xor ah, al
xor ch, al
mov byte [esp + 0x2b], cl
xor cl, al
mov byte [esp + 0x35], 0
xor dh, al
mov byte [esp + 0x2f], cl
mov al, byte [esp + 0x2b]
xor al, byte [esp + 0x2c]
cmp byte [esp + 0x13], 0
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], ah
mov byte [esp + 0x32], ch
mov byte [esp + 0x33], dh
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004f82a
xor ecx, ecx
jmp 0x1004f83a
lea ecx, [esp + 0x2d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f831
sub ecx, edx
push ecx
lea eax, [esp + 0x31]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x90]
call fcn.1001b710
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004f87f
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
mov cl, 0x19
mov dword [esp + 0x18], 0x766b7e19
mov dword [esp + 0x1c], 0x6b46696c
xor eax, eax
mov dword [esp + 0x20], 0x6b786e7c
mov word [esp + 0x24], 0x7d
xor byte [esp + eax + 0x19], cl
inc eax
cmp eax, 0xc
jae 0x1004f8b2
mov cl, byte [esp + 0x18]
jmp 0x1004f8a2
cmp byte [esp + 0x19], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jne 0x1004f8e0
xor ecx, ecx
jmp 0x1004f8f0
lea ecx, [esp + 0x19]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f8e7
sub ecx, edx
push ecx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x98]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x90]
call fcn.1001b710
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
jb 0x1004f934
inc eax
lea ecx, [esp + 0x90]
push eax
push dword [esp + 0x94]
call fcn.10002720
xor edi, edi
mov dword [esp + 0x44], 5
mov dword [esp + 0x40], edi
add esi, 0x64
push edi
mov cl, 0x21
mov dword [esp + 0x1c], 0x55595521
mov dword [esp + 0x20], 0x5644537e
xor eax, eax
mov dword [esp + 0x24], 0x7e455340
mov word [esp + 0x28], 0x4504
mov byte [esp + 0x2a], 0
nop
xor byte [esp + eax + 0x1d], cl
inc eax
cmp eax, 0xd
jae 0x1004f980
mov cl, byte [esp + 0x1c]
jmp 0x1004f970
sub esp, 0x18
mov byte [esp + 0x42], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1004f9b0
mov eax, dword [edx]
jmp 0x1004f9b2
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x35], 0
jne 0x1004f9c0
xor ecx, ecx
jmp 0x1004f9d4
lea ecx, [esp + 0x35]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f9c7
sub ecx, edi
mov edi, dword [esp + 0x5c]
push ecx
lea eax, [esp + 0x39]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [esp + 0x94]
push eax
call fcn.1000f620
mov edx, eax
add esp, 0x20
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x60]
call fcn.1001b710
mov dword [esi + 4], eax
mov eax, dword [esp + 0x8c]
cmp eax, 0x10
jb 0x1004fa1d
inc eax
lea ecx, [esp + 0x78]
push eax
push dword [esp + 0x7c]
call fcn.10002720
movaps xmm0, xmmword [0x100c7ee0]
xor ecx, ecx
push edi
movups xmmword [esp + 0x30], xmm0
nop dword [eax]
mov al, byte [esp + 0x30]
xor byte [esp + ecx + 0x31], al
inc ecx
cmp ecx, 0xe
jb 0x1004fa30
sub esp, 0x18
mov byte [esp + 0x57], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x49], 0
jne 0x1004fa64
xor ecx, ecx
jmp 0x1004fa7d
lea ecx, [esp + 0x49]
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fa70
sub ecx, edi
mov edi, dword [esp + 0x5c]
push ecx
lea eax, [esp + 0x4d]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [esp + 0x94]
push eax
call fcn.1000f620
mov edx, eax
add esp, 0x20
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x60]
call fcn.1001b710
mov dword [esi + 8], eax
mov eax, dword [esp + 0x8c]
cmp eax, 0x10
jb 0x1004fac6
inc eax
lea ecx, [esp + 0x78]
push eax
push dword [esp + 0x7c]
call fcn.10002720
call fcn.100189a0
test eax, eax
je 0x1004fcb8
mov dword [esi], eax
call fcn.1001bdf0
mov ecx, eax
call dword [0x100c6850]
test eax, eax
je 0x1004fcb8
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [esi]
mov dword [esp + 0x4c], edx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004fb34
push 4
push eax
call edi
test eax, eax
jne 0x1004fb34
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1004fb34
push 4
push eax
call edi
test eax, eax
jne 0x1004fb34
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004fb7d
push 4
push eax
call edi
test eax, eax
jne 0x1004fb7d
mov ecx, dword [esp + 0x14]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100c6860]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004fbb2
push 4
push eax
call edi
test eax, eax
jne 0x1004fbb2
mov eax, dword [esp + 0x14]
add eax, 0xcc
push 4
push eax
mov dword [esp + 0x1c], eax
call edi
test eax, eax
jne 0x1004fbb2
mov eax, dword [esp + 0x14]
mov dword [eax], 0xb
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004fbd6
push 4
push eax
call edi
test eax, eax
jne 0x1004fbd6
mov ecx, dword [esp + 0x14]
push pe_nt_image_headers32
call dword [0x100c682c]
mov edi, dword [esi + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
test edi, edi
je 0x1004fc33
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call eax
test eax, eax
jne 0x1004fc33
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xe0]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xe4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0xe8]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
movaps xmm0, xmmword [esp + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
movaps xmmword [esp + 0x90], xmm0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004fc6d
push 4
push eax
call edi
test eax, eax
jne 0x1004fc6d
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
call dword [0x100c685c]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004fc94
push 4
push eax
call edi
test eax, eax
jne 0x1004fc94
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
call dword [0x100c6808]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004fcb4
push 4
push eax
call edi
test eax, eax
jne 0x1004fcb4
mov ecx, dword [esp + 0x14]
push eax
call dword [0x100c681c]
mov edi, dword [esp + 0x40]
inc edi
add esi, 0xc
sub dword [esp + 0x44], 1
mov dword [esp + 0x40], edi
jne 0x1004f945
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
test esi, esi
je 0x1004fcec
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call eax
test eax, eax
jne 0x1004fcec
push eax
mov ecx, esi
call dword [0x100c682c]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret