Function at 0x10001050
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4b4
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x3c8]
mov byte [esp + 0x3c4], 0
mov byte [esp + 0x3c5], 0
mov byte [esp + 0x3c6], 0
mov byte [esp + 0x3c7], 0
mov ebp, dword [esp + 0x4d0]
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x188]
mov byte [esp + 0x184], al
mov byte [esp + 0x185], al
mov byte [esp + 0x186], al
mov byte [esp + 0x187], al
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4d4]
lea ecx, [esp + 0x184]
mov dword [esp + 0x84], eax
lea edx, [esp + 0x3c4]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
mov dword [esp + 0x78], ebp
call fcn.10001e40
mov edi, dword [esp + 0x4d4]
push edi
call section..text
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], eax
push 0
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
push edi
call fcn.10001fe0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x1000112a
mov edi, 0xea97
jmp 0x10001dbf
push 0
lea ecx, [esp + 0x5c]
push esi
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x4d8]
lea eax, [esp + 0x8c]
push edx
push eax
push ecx
call fcn.10001fe0
add esp, 0x18
test eax, eax
jne 0x1000115d
mov edi, 0xea97
jmp 0x10001dbf
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x3c]
push eax
call ebx
mov ecx, dword [esp + 0x44]
push ecx
call ebx
push 1
lea edx, [esp + 0x14]
push esi
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
push edi
call fcn.10001fe0
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x4c], eax
jne 0x100011a5
mov edi, 0xea97
jmp 0x10001dbf
mov edx, dword [esp + 0x4d4]
add edx, ebp
xor eax, eax
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x10]
add eax, 4
mov edi, dword [eax + ecx - 4]
xor edi, edx
cmp eax, 0xffd
mov dword [eax + ecx - 4], edi
jl 0x100011b4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x284]
push eax
push ecx
push edx
call fcn.10002110
add esp, 0xc
test eax, eax
je 0x100011f7
mov edi, 0xea97
jmp 0x10001dbf
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x40]
push eax
push ecx
push edx
call fcn.10002240
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x9e]
and eax, 0xffff
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
call fcn.100020d0
mov edi, eax
add esp, 0x10
cmp edi, ebx
mov dword [esp + 0x2c], edi
jne 0x10001245
mov edi, 0xeab0
jmp 0x10001dbf
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push edi
lea eax, [esp + 0x288]
push edx
push eax
push ecx
call fcn.10002200
mov edx, dword [esp + 0x68]
add esp, 0x10
cmp word [esp + 0x92], bx
mov esi, edx
mov dword [esp + 0x18], ebx
jbe 0x10001313
add edi, 0x14
lea ebp, [edi - 0x14]
mov eax, str..rsrc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x100012ab
test cl, cl
je 0x100012a7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x100012ab
add eax, 2
add ebp, 2
test cl, cl
jne 0x10001286
xor eax, eax
jmp 0x100012b0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100012ee
mov ecx, dword [edi]
mov ebp, dword [esp + 0x10]
mov eax, dword [edi - 4]
push esi
add ecx, ebp
push eax
push ecx
call fcn.10002370
mov ebp, dword [esp + 0x30]
mov dword [esp + ebx + 0x2c4], eax
mov edx, dword [edi - 8]
add esi, eax
add edx, ebp
mov dword [esp + ebx + 0x344], edx
mov eax, dword [edi]
mov ecx, dword [edi - 4]
add ebx, 4
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x92]
inc eax
and ecx, 0xffff
add edi, 0x28
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x1000127e
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x118]
sub esi, edx
mov dword [esp + 0x28], eax
add esi, 0xfff
lea ecx, [eax + 0xfff]
mov eax, dword [esp + 0x108]
add eax, 0xf
mov ebp, dword [0x10017034]
shr esi, 0xc
shr eax, 4
mov ebx, dword [0x10017548]
mov edi, dword [0x1001703c]
shl esi, 0xc
shl eax, 4
mov dword [esp + 0x48], esi
lea eax, [eax + esi + 0xfff]
mov esi, dword [0x1001794c]
sub esi, ebp
add esi, ebx
shr ecx, 0xc
lea ebx, [esi + edi + 0xfff]
shr ebx, 0xc
shl ecx, 0xc
shr eax, 0xc
shl ebx, 0xc
mov dword [esp + 0x20], ecx
add ecx, ebx
shl eax, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ebx
lea esi, [eax + ecx + 0x2000]
mov eax, dword [esp + 0x40]
cmp esi, eax
mov dword [esp + 0x50], esi
jae 0x100013a9
mov esi, eax
mov dword [esp + 0x50], eax
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [esp + 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x80]
push eax
call edi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
sub esi, ecx
xor ebp, ebp
add esi, eax
push ebp
lea ecx, [esp + 0x18]
push esi
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x4d8]
lea eax, [esp + 0x74]
push edx
push eax
push ecx
call fcn.10001fe0
add esp, 0x18
test eax, eax
jne 0x10001404
mov edi, 0xea97
jmp 0x10001dbf
mov edx, dword [esp + 0x14]
cmp word [esp + 0x92], bp
mov dword [esp + 0x18], ebp
lea eax, [edx + ebx + 0x2000]
mov dword [esp + 0x1c], eax
jbe 0x100014d8
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + 0x14]
lea edi, [esi - 0x14]
mov eax, str..rsrc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x10001458
test cl, cl
je 0x10001454
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x10001458
add eax, 2
add edi, 2
test cl, cl
jne 0x10001434
xor eax, eax
jmp 0x1000145d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100014b7
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov ecx, dword [esi - 4]
push eax
mov eax, dword [esp + 0x14]
push ecx
add edx, eax
push edx
call fcn.10002370
mov edi, eax
mov eax, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.10001e10
mov eax, dword [esp + 0x28]
mov dword [esp + ebp*4 + 0x2d0], edi
mov edx, dword [esi - 8]
add eax, edi
mov dword [esp + 0x28], eax
mov dword [esp + ebp*4 + 0x350], edx
mov eax, dword [esi]
mov ecx, dword [esi - 4]
add esp, 0xc
inc ebp
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x92]
inc eax
and ecx, 0xffff
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x1000142c
cmp ebp, 0x20
jae 0x10001507
mov edx, 0x20
lea edi, [esp + ebp*4 + 0x344]
sub edx, ebp
xor eax, eax
shl edx, 2
mov ecx, edx
lea esi, [esp + ebp*4 + 0x2c4]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov edx, dword [0x10017548]
mov eax, dword [0x1001794c]
add eax, edx
push eax
call fcn.100020d0
mov ecx, dword [0x10017548]
mov dword [esp + 0x1c], eax
push ecx
push 0x1001754c
push eax
call fcn.100020f0
mov edx, dword [0x10017040]
push edx
call fcn.100020d0
mov esi, eax
mov eax, dword [0x10017040]
push eax
push 0x10017044
push esi
mov dword [esp + 0x50], esi
call fcn.100020f0
mov ecx, dword [0x10017378]
push ecx
call fcn.100020d0
mov edx, dword [0x10017378]
mov edi, eax
push edx
push 0x1001737c
push edi
mov dword [esp + 0xb8], edi
call fcn.100020f0
mov eax, dword [0x1003d280]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 0x10c]
add edi, eax
mov eax, dword [esp + 0x5c]
lea ebp, [ecx + esi]
add esp, 0x30
mov dword [esp + 0x74], edi
mov esi, dword [eax + 0xc]
sub edx, esi
mov esi, dword [ebp + 0x134]
mov dword [ebp + 0x100], edx
mov eax, dword [eax + 0xc]
mov ecx, edx
mov dword [ebp + 0x104], eax
add ecx, eax
lea eax, [ebx + 0x1000]
mov dword [ebp + 0x12c], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x12c]
mov dword [ebp + 0x150], ecx
mov dword [ebp + 0x158], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x128], eax
mov dword [ebp + 0x130], eax
add edx, eax
add eax, esi
test ecx, ecx
mov dword [ebp + 0x154], edx
mov dword [ebp + 0x15c], eax
je 0x10001651
lea ebx, [ebp + 0x170]
lea esi, [ebp + 0x148]
mov ecx, 0xa
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str..rsrc]
mov dword [ebx], ecx
mov cl, byte [0x10018ea0]
mov byte [ebx + 4], cl
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x178], ecx
mov ecx, dword [esp + 0x24]
add edx, ecx
add eax, ecx
mov dword [ebp + 0x17c], edx
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x184], eax
mov dword [ebp + 0x180], edx
mov word [ebp + 6], 4
mov ax, word [esp + 0xa2]
mov edx, dword [ebp + 0x34]
mov word [ebp + 0x16], ax
mov ecx, dword [esp + 0x94]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0xc0]
mov eax, ecx
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x178]
sub eax, edx
mov edx, dword [ebp + 0x150]
mov dword [esp + 0x20], eax
add edx, ecx
mov dword [ebp + 0x20], edx
mov eax, dword [ebp + 0x100]
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100016b1
mov ecx, dword [0x10017350]
mov eax, dword [ebp + 0x12c]
add ecx, eax
mov dword [ebp + 0x28], ecx
jmp 0x100016c2
mov edx, dword [0x1001734c]
mov eax, dword [ebp + 0x12c]
add edx, eax
mov dword [ebp + 0x28], edx
mov eax, dword [ebp + 0x12c]
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x154]
test eax, eax
mov dword [ebp + 0x30], ecx
je 0x100016ef
mov edx, dword [ebp + 0x17c]
mov ecx, dword [ebp + 0x178]
add edx, ecx
mov dword [ebp + 0x50], edx
jmp 0x10001700
mov ecx, dword [ebp + 0x150]
mov edx, dword [ebp + 0x154]
add ecx, edx
mov dword [ebp + 0x50], ecx
mov edx, dword [0x1001703c]
mov edi, dword [0x10017034]
mov esi, dword [ebp + 0x12c]
sub edx, edi
add edx, esi
test eax, eax
mov dword [ebp + 0x80], edx
je 0x100017be
mov eax, dword [ebp + 0x17c]
lea edx, [esp + 0x24]
mov dword [ebp + 0x88], eax
mov ecx, dword [ebp + 0x180]
mov dword [ebp + 0x8c], ecx
mov ecx, dword [esp + 0x92]
mov eax, dword [esp + 0x114]
push edx
mov edx, dword [esp + 0x30]
and ecx, 0xffff
push ecx
push edx
push eax
mov esi, eax
call fcn.100021a0
mov eax, dword [ebp + 0x17c]
mov edx, dword [esp + 0x20]
mov edi, dword [ebp + 0x184]
mov ecx, dword [esp + 0x128]
sub eax, esi
mov esi, dword [esp + 0x34]
add esi, edx
mov edx, dword [esp + 0x24]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x184]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x130]
add ecx, edi
push eax
push ecx
call fcn.10001f30
add esp, 0x20
test eax, eax
jne 0x10001df7
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x1000187e
mov edx, dword [0x1001703c]
mov esi, dword [0x10017034]
mov eax, dword [ebp + 0x12c]
sub edx, esi
lea ecx, [edx + eax + 0x300]
lea eax, [esp + 0x5c]
mov dword [ebp + 0xc0], ecx
mov edx, dword [esp + 0x150]
mov dword [ebp + 0xc4], edx
mov ecx, dword [esp + 0x92]
mov edx, dword [esp + 0x2c]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x150]
push ecx
push edx
push eax
call fcn.100021a0
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
push ecx
add eax, edx
lea ecx, [edi + 0x300]
push eax
push ecx
call fcn.100020f0
mov eax, 0xaaaaaaab
add esp, 0x1c
mul dword [esp + 0x150]
xor ecx, ecx
shr edx, 4
je 0x10001882
lea esi, [edi + 0x30c]
mov eax, 0xaaaaaaab
mov dword [esi], 0
mul dword [esp + 0x150]
inc ecx
add esi, 0x18
shr edx, 4
cmp ecx, edx
jb 0x1000185f
jmp 0x10001882
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x10001924
mov edx, dword [0x1001703c]
mov esi, dword [0x10017034]
mov eax, dword [ebp + 0x12c]
sub edx, esi
add edi, 0x200
lea ecx, [edx + eax + 0x200]
mov dword [ebp + 0xa0], ecx
mov edx, dword [0x1001794c]
mov dword [ebp + 0xa4], edx
mov eax, dword [0x1001794c]
push eax
push 0x10017950
push edi
call fcn.100020f0
mov ecx, dword [0x10017950]
add esp, 0xc
xor edx, edx
xor esi, esi
test ecx, ecx
mov eax, 0x10017950
je 0x10001902
mov ebx, dword [0x1001794c]
cmp esi, ebx
jae 0x10001902
mov ecx, dword [eax + 4]
inc edx
add eax, ecx
add esi, ecx
cmp dword [eax], 0
jne 0x100018f1
test edx, edx
mov eax, edi
jbe 0x10001924
mov ecx, dword [ebp + 0x12c]
mov ebx, dword [0x10017034]
mov edi, dword [eax]
mov esi, dword [eax + 4]
sub ecx, ebx
add edi, ecx
mov dword [eax], edi
add eax, esi
dec edx
jne 0x10001908
mov eax, dword [esp + 0x104]
test eax, eax
je 0x100019f3
mov edx, dword [esp + 0x48]
mov esi, dword [ebp + 0x154]
add edx, esi
mov dword [ebp + 0x78], edx
mov eax, dword [esp + 0x108]
mov dword [ebp + 0x7c], eax
mov ecx, dword [esp + 0x104]
mov esi, edx
sub esi, ecx
mov ecx, dword [esp + 0x108]
push ecx
call fcn.100020d0
mov ecx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x96]
lea edx, [esp + 0x7c]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x10c]
push eax
push ecx
push edx
call fcn.100021a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x11c]
add edx, ecx
push eax
push edx
push ebx
call fcn.100020f0
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add eax, esi
add edi, esi
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x1c], edi
mov edx, dword [esp + 0x124]
mov edi, dword [ebx + 0x24]
mov eax, ecx
add ecx, esi
sub eax, edx
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x20], ecx
add esp, 0x20
add edi, esi
xor ecx, ecx
mov dword [ebx + 0x24], edi
test edx, edx
jbe 0x100019f7
add eax, ebx
mov edi, dword [eax]
add eax, 4
add edi, esi
inc ecx
mov dword [eax - 4], edi
mov edx, dword [ebx + 0x18]
cmp ecx, edx
jb 0x100019df
jmp 0x100019f7
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10001a16
mov eax, dword [0x10017348]
push eax
call fcn.100020d0
mov ecx, dword [0x10017348]
mov dword [esp + 0x20], eax
jmp 0x10001a2c
mov edx, dword [0x10017344]
push edx
call fcn.100020d0
mov ecx, dword [0x10017344]
mov dword [esp + 0x20], eax
push ecx
push 0x100179c8
push eax
call fcn.100020f0
mov ecx, dword [0x10017950]
add esp, 0x10
xor esi, esi
xor edx, edx
test ecx, ecx
mov eax, 0x10017950
je 0x10001a65
mov edi, dword [0x1001794c]
cmp edx, edi
jae 0x10001a65
mov ecx, dword [eax + 4]
inc esi
add eax, ecx
add edx, ecx
cmp dword [eax], 0
jne 0x10001a54
mov edx, dword [esp + 0x20]
mov edi, dword [0x10017034]
mov ecx, dword [ebp + 0x12c]
sub edx, edi
dec esi
add edx, ecx
test esi, esi
mov ecx, 0x10017950
jbe 0x10001ae5
mov dword [esp + 0x28], esi
cmp dword [ecx], 0
je 0x10001ad5
mov eax, dword [ecx + 4]
sub eax, 8
shr eax, 1
je 0x10001ad5
lea esi, [ecx + 8]
mov dword [esp + 0x24], eax
xor eax, eax
mov ax, word [esi]
mov edi, eax
and edi, 0x3000
cmp edi, 0x3000
jne 0x10001ac7
mov edi, dword [ecx]
and eax, 0xfff
lea eax, [eax + edi - 0x1000]
mov edi, dword [esp + 0x1c]
add dword [eax + edi], edx
mov eax, dword [esp + 0x24]
add esi, 2
dec eax
mov dword [esp + 0x24], eax
jne 0x10001a9d
mov esi, dword [ecx + 4]
mov eax, dword [esp + 0x28]
add ecx, esi
dec eax
mov dword [esp + 0x28], eax
jne 0x10001a87
mov ecx, dword [esp + 0x20]
mov eax, dword [0x10017358]
sub edx, ecx
test eax, eax
je 0x10001b38
mov eax, dword [0x1001735c]
add eax, 0xfffffff8
shr eax, 1
je 0x10001b38
mov ecx, dword [esp + 0x18]
mov esi, 0x10017360
mov dword [esp + 0x20], eax
xor eax, eax
mov ax, word [esi]
mov edi, eax
and edi, 0x3000
cmp edi, 0x3000
jne 0x10001b2a
and eax, 0xfff
add dword [eax + ecx], edx
mov eax, dword [esp + 0x20]
add esi, 2
dec eax
mov dword [esp + 0x20], eax
jne 0x10001b0d
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x344]
push 0x80
push ecx
lea edx, [esi + 8]
push edx
call fcn.100020f0
lea eax, [esp + 0x2d0]
push 0x80
lea ecx, [esi + 0x88]
push eax
push ecx
call fcn.100020f0
mov edx, dword [esp + 0xd8]
add esp, 0x18
mov dword [esi + 0x114], edx
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xb4]
add ecx, eax
mov dword [esi + 0x108], ecx
mov edx, dword [ebp + 0x154]
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x118], 0x738465bc
add eax, edx
mov dword [esi + 0x11c], 0x7e20a33d
mov dword [esi + 0x110], eax
add eax, 0xfffff000
mov dword [esi + 0x10c], eax
mov eax, dword [esp + 0x4d0]
xor eax, 0x738465bc
mov dword [esi + 0x120], eax
mov eax, dword [esp + 0x4d4]
xor eax, 0x7e20a33d
mov dword [esi + 0x124], eax
mov ecx, dword [0x10017040]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov edx, ecx
mov eax, dword [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x10017348]
test eax, eax
jne 0x10001c19
mov ecx, dword [0x10017344]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, ecx
lea edi, [eax + 0x1000]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x10017038]
mov edx, dword [esp + 0x14]
mov ecx, dword [0x10017378]
mov esi, dword [esp + 0x88]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x10017548]
mov edx, dword [0x1001794c]
mov eax, dword [0x1001703c]
mov esi, dword [esp + 0x18]
add ecx, edx
mov edx, dword [esp + 0x14]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [ebp + 0x7c]
test ebp, ebp
je 0x10001cc1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
mov ecx, ebp
mov ebp, dword [esp + 0x54]
add edx, ebp
mov esi, ebx
push ebx
lea edi, [edx + eax + 0x2000]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.100020e0
add esp, 4
jmp 0x10001cc5
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, 0x400
lea edx, [esp + 0x3c4]
lea edi, [eax + ebp + 0x1000]
lea eax, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x184]
push ecx
push edx
push eax
call fcn.10001e40
mov ecx, dword [esp + 0x20]
push 0x1000
lea eax, [esp + 0x194]
lea edx, [ecx + ebp + 0x1000]
push edx
push eax
call fcn.10001e10
mov eax, dword [esp + 0x58]
add esp, 0x18
test eax, eax
je 0x10001d75
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
lea esi, [ecx + 0x1e]
lea edi, [edx + 0x1e]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
movsw word es:[edi], word [esi]
mov edx, dword [esp + 0x10]
sub ecx, eax
lea esi, [eax + edx]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
lea edi, [edx + eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
push ecx
push eax
push edx
call fcn.100022f0
add esp, 0xc
mov eax, dword [esp + 0x18]
push eax
call fcn.100020e0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100020e0
mov edx, dword [esp + 0x24]
push edx
call fcn.100020e0
mov eax, dword [esp + 0x38]
push eax
call fcn.100020e0
add esp, 0x10
xor edi, edi
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x7c]
mov esi, dword [eax + ecx]
add eax, 4
xor esi, edx
cmp eax, 0xffd
mov dword [eax + ecx - 4], esi
jl 0x10001da4
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push eax
call ebx
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x44]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x60]
push ecx
call esi
mov edx, dword [esp + 0x68]
push edx
call esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4b4
ret