Function at 0x100489d0
Capabilities:
Hash data using fnv
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100977c3
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x100b0380]
xor eax, ebp
mov dword [ebp - 0x38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x248], 0
xor eax, eax
mov word [ebp - 0x244], ax
push 0x206
push 0
lea ecx, [ebp - 0x242]
push ecx
call fcn.1007dcf0
add esp, 0xc
push 4
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x18], eax
push 4
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
call fcn.10079c4e
cdq
mov ecx, 0x65
idiv ecx
add edx, 2
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
call fcn.10079c4e
cdq
mov ecx, 0x65
idiv ecx
add edx, 0x200
mov eax, dword [ebp - 0x24]
mov dword [eax], edx
cmp dword [ebp + 8], 1
jne 0x10048d72
mov dword [ebp - 0x328], 0x100dc348
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x328]
mov cx, word [eax]
mov word [ebp - 0x332], cx
mov edx, dword [ebp - 0x32c]
mov ax, word [ebp - 0x332]
mov word [edx], ax
mov ecx, dword [ebp - 0x328]
add ecx, 2
mov dword [ebp - 0x328], ecx
mov edx, dword [ebp - 0x32c]
add edx, 2
mov dword [ebp - 0x32c], edx
cmp word [ebp - 0x332], 0
jne 0x10048acb
push 0x10
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], 0x10
jae 0x10048b60
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x11
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10048b41
mov eax, dword [ebp - 0x20]
cmp eax, 0
je 0x10048d5c
sub eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0x80
jmp 0x10048cb7
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jle 0x10048cb7
pop ebx
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10079c70
add esp, 4
lea edx, [ebp - 0x244]
mov dword [ebp - 0x338], edx
mov eax, dword [ebp - 0x338]
add eax, 2
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x338]
mov dx, word [ecx]
mov word [ebp - 0x33e], dx
add dword [ebp - 0x338], 2
cmp word [ebp - 0x33e], 0
jne 0x10048bbd
mov eax, dword [ebp - 0x338]
sub eax, dword [ebp - 0x33c]
sar eax, 1
mov dword [ebp - 0x344], eax
je 0x10048c40
lea ecx, [ebp - 0x244]
push ecx
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x10048c40
lea edx, [ebp - 0x244]
push edx
xor esi, esi
call fcn.10013ed0
add esp, 4
test eax, eax
je 0x10048c40
mov eax, dword [ebp - 0x18]
push eax
call fcn.10079c70
add esp, 4
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x17
mov ecx, 0x11697410
mov eax, 0xafa850
mov edi, 5
lea esi, [ebp - 0x264]
call fcn.10057130
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x34c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34c]
call fcn.10057100
push eax
push 0x74
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x264]
call fcn.10057150
push edx
mov edx, 0x10048d6a
cmp dword [edx], 0x100
jne 0x10048d6a
cmp dword [ebp - 0x10], 0
je 0x10048d4e
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x100
jge 0x10048d16
mov es, cx
mov ecx, dword fs:[0x40]
mov esp, dword [ecx + 4]
push 0x23
push edx
pushfd
push 2
add edx, 8
popfd
or byte [esp + 1], 2
push 0x1b
push dword ds:[0xffdf0304]
push 0
push ebp
push ebx
push esi
push edi
mov ebx, dword fs:[0x1c]
push 0x3b
mov esi, dword [ebx + 0x124]
push dword [ebx]
mov dword [ebx], 0xffffffff
mov ebp, dword [esi + 0x18]
push 1
sub esp, 0x48
mov eax, dword [ebp - 0x2c]
shl eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
and eax, 0x10000
je 0x10048d33
mov eax, dword [ebp - 0x2c]
xor eax, 0x11021
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
and ecx, dword [ebp - 0x10]
je 0x10048d49
mov eax, dword [ebp - 0x2c]
xor eax, 0x1021
mov dword [ebp - 0x2c], eax
jmp 0x10048b7e
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x10048b60
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov ebx, 0x10048b95
push ebx
push ebx
ret
pop edx
mov edi, edi
jmp 0x10049dd8
cmp dword [ebp + 8], 5
jne 0x10048ffa
mov dword [ebp - 0x350], 0x100dc960
lea eax, [ebp - 0x244]
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x358], ecx
mov edx, dword [ebp - 0x350]
mov ax, word [edx]
mov word [ebp - 0x35a], ax
mov ecx, dword [ebp - 0x354]
mov dx, word [ebp - 0x35a]
mov word [ecx], dx
mov eax, dword [ebp - 0x350]
add eax, 2
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x354]
add ecx, 2
mov dword [ebp - 0x354], ecx
cmp word [ebp - 0x35a], 0
jne 0x10048d9e
push str._ZwQuneryAttributesFile
push 0x1009e95c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
push 0x50
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x20], eax
push 0x50
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x2c], eax
push ebx
mov ebx, dword [ebp - 0x14]
cmp ebx, 0
je 0x10048e91
add ebx, 8
mov dword [ebp - 0x34], ebx
imul ebx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp - 0x2c]
push ebx
mov ebx, dword [ebp - 0x14]
call ebx
push 0x10048e91
ret
mov ebx, dword [ebp - 0x20]
cmp ebx, 0x80000000
jne 0x10048fcc
pop ebx
mov edx, dword [ebp - 0x20]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10079c70
add esp, 4
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x360], ecx
mov edx, dword [ebp - 0x360]
add edx, 2
mov dword [ebp - 0x364], edx
mov eax, dword [ebp - 0x360]
mov cx, word [eax]
mov word [ebp - 0x366], cx
add dword [ebp - 0x360], 2
cmp word [ebp - 0x366], 0
jne 0x10048ed4
mov edx, dword [ebp - 0x360]
sub edx, dword [ebp - 0x364]
sar edx, 1
mov dword [ebp - 0x36c], edx
je 0x10048f57
lea eax, [ebp - 0x244]
push eax
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x10048f57
lea ecx, [ebp - 0x244]
push ecx
xor esi, esi
call fcn.10013ed0
add esp, 4
test eax, eax
je 0x10048f57
mov edx, dword [ebp - 0x18]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x17
mov ecx, 0x11697410
mov eax, 0xafa850
mov edi, 5
lea esi, [ebp - 0x26c]
call fcn.10057130
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x374], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x374]
call fcn.10057100
push eax
push 0x78
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x26c]
call fcn.10057150
push edx
mov edx, edx
xor edx, edx
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0x200
jne 0x10048ff4
mov ebx, 0x10048ea0
push ebx
ret
pop edx
jmp 0x10049dd8
cmp dword [ebp + 8], 6
jne 0x10049176
mov dword [ebp - 0x378], 0x100dc758
lea edx, [ebp - 0x244]
mov dword [ebp - 0x37c], edx
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x378]
mov dx, word [ecx]
mov word [ebp - 0x382], dx
mov eax, dword [ebp - 0x37c]
mov cx, word [ebp - 0x382]
mov word [eax], cx
mov edx, dword [ebp - 0x378]
add edx, 2
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x37c]
add eax, 2
mov dword [ebp - 0x37c], eax
cmp word [ebp - 0x382], 0
jne 0x10049026
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x388], ecx
mov edx, dword [ebp - 0x388]
add edx, 2
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0x388]
mov cx, word [eax]
mov word [ebp - 0x38e], cx
add dword [ebp - 0x388], 2
cmp word [ebp - 0x38e], 0
jne 0x10049089
mov edx, dword [ebp - 0x388]
sub edx, dword [ebp - 0x38c]
sar edx, 1
mov dword [ebp - 0x394], edx
je 0x1004910c
lea eax, [ebp - 0x244]
push eax
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x1004910c
lea ecx, [ebp - 0x244]
push ecx
xor esi, esi
call fcn.10013ed0
add esp, 4
test eax, eax
je 0x1004910c
mov edx, dword [ebp - 0x18]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x17
mov ecx, 0x11697410
mov eax, 0xafa850
mov edi, 5
lea esi, [ebp - 0x274]
call fcn.10057130
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x398]
mov dword [ebp - 0x39c], ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x39c]
call fcn.10057100
push eax
push 0x77
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x274]
call fcn.10057150
jmp 0x10049dd8
cmp dword [ebp + 8], 7
jne 0x100494d8
push 0x28
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 9
cmp dword [ebp - 0x34], 0xa
jge 0x100491da
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
lea edx, [ecx + eax*2]
mov eax, 0x1e
sub eax, edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
jmp 0x100491b0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x10], edx
mov edx, 0x10049425
mov eax, edx
push eax
ret
cmp dword [ebp + 8], 4
jne 0x10049654
mov dword [ebp - 0x3c8], 0x100dc140
lea eax, [ebp - 0x244]
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x3cc]
mov dword [ebp - 0x3d0], ecx
mov edx, dword [ebp - 0x3c8]
mov ax, word [edx]
mov word [ebp - 0x3d2], ax
mov ecx, dword [ebp - 0x3cc]
mov dx, word [ebp - 0x3d2]
mov word [ecx], dx
mov eax, dword [ebp - 0x3c8]
add eax, 2
mov dword [ebp - 0x3c8], eax
mov ecx, dword [ebp - 0x3cc]
add ecx, 2
mov dword [ebp - 0x3cc], ecx
cmp word [ebp - 0x3d2], 0
jne 0x10049504
lea edx, [ebp - 0x244]
mov dword [ebp - 0x3d8], edx
mov eax, dword [ebp - 0x3d8]
add eax, 2
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x3d8]
mov dx, word [ecx]
mov word [ebp - 0x3de], dx
add dword [ebp - 0x3d8], 2
cmp word [ebp - 0x3de], 0
jne 0x10049567
mov eax, dword [ebp - 0x3d8]
sub eax, dword [ebp - 0x3dc]
sar eax, 1
mov dword [ebp - 0x3e4], eax
je 0x100495ea
lea ecx, [ebp - 0x244]
push ecx
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x100495ea
lea edx, [ebp - 0x244]
push edx
xor esi, esi
call fcn.10013ed0
add esp, 4
test eax, eax
je 0x100495ea
mov eax, dword [ebp - 0x18]
push eax
call fcn.10079c70
add esp, 4
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x2d
mov ecx, 0x50aa11d0
mov eax, 0xa04ff72a
mov edi, 9
lea esi, [ebp - 0x284]
call fcn.10057130
mov dword [ebp - 0x3e8], eax
mov edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x3ec], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x3ec]
call fcn.10057100
push eax
push 0x73
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x284]
call fcn.10057150
jmp 0x10049dd8
cmp dword [ebp + 8], 8
jb 0x100497d0
cmp dword [ebp + 8], 0x1e
ja 0x100497d0
mov dword [ebp - 0x3f0], 0x100dd1c0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x3f4], eax
mov ecx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f8], ecx
mov edx, dword [ebp - 0x3f0]
mov ax, word [edx]
mov word [ebp - 0x3fa], ax
mov ecx, dword [ebp - 0x3f4]
mov dx, word [ebp - 0x3fa]
mov word [ecx], dx
mov eax, dword [ebp - 0x3f0]
add eax, 2
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x3f4]
add ecx, 2
mov dword [ebp - 0x3f4], ecx
cmp word [ebp - 0x3fa], 0
jne 0x1004968a
lea edx, [ebp - 0x244]
mov dword [ebp - 0x400], edx
mov eax, dword [ebp - 0x400]
add eax, 2
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x400]
mov dx, word [ecx]
mov word [ebp - 0x406], dx
add dword [ebp - 0x400], 2
cmp word [ebp - 0x406], 0
jne 0x100496ed
mov eax, dword [ebp - 0x400]
sub eax, dword [ebp - 0x404]
sar eax, 1
mov dword [ebp - 0x40c], eax
je 0x1004975b
lea ecx, [ebp - 0x244]
push ecx
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x1004975b
mov edx, dword [ebp - 0x18]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x2d
mov ecx, 0x50aa11d0
mov eax, 0xa04ff72a
mov edi, 9
lea esi, [ebp - 0x28c]
call fcn.10057130
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
mov dword [ebp - 0x414], ecx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x414]
call fcn.10057100
push eax
mov edx, dword [ebp + 8]
add edx, 0xe9
movzx eax, dx
push eax
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x28c]
call fcn.10057150
jmp 0x10049dd8
cmp dword [ebp + 8], 2
jne 0x10049adf
push 0x28
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x1000193
mov dword [ebp - 0x34], 0x811c9dc5
cmp dword [ebp - 0x20], 0xa
jge 0x10049831
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x13
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x100497fc
mov dword [ebp - 0x20], 0
jmp 0x10049a73
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x101
jge 0x10049a73
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], 0xbadb0d00
add edi, dword [esi + 0xe0]
mov ebx, eax
and eax, 0xfff
cmp eax, dword [edi + 8]
cmp ecx, 0x10
inc dword fs:[0x638]
mov esi, edx
mov ebx, dword [edi + 0xc]
xor ecx, ecx
xor ecx, ecx
mov cl, byte [eax + ebx]
mov edi, dword [edi]
mov ebx, dword [edi + eax*4]
sub esp, ecx
shr ecx, 2
mov edi, esp
mov esp, ebp
cmp eax, dword [edi + 8]
cmp ecx, 0x10
mov ecx, dword fs:[0x18]
shr eax, 4
xor eax, eax
push ebx
pop eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10079c70
add esp, 4
mov dword [ebp - 0x418], 0x100de408
lea edx, [ebp - 0x244]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x418]
mov dx, word [ecx]
mov word [ebp - 0x422], dx
mov eax, dword [ebp - 0x41c]
mov cx, word [ebp - 0x422]
mov word [eax], cx
mov edx, dword [ebp - 0x418]
add edx, 2
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x41c]
add eax, 2
mov dword [ebp - 0x41c], eax
cmp word [ebp - 0x422], 0
jne 0x100498d5
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x428], ecx
mov edx, dword [ebp - 0x428]
add edx, 2
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x428]
mov cx, word [eax]
mov word [ebp - 0x42e], cx
add dword [ebp - 0x428], 2
cmp word [ebp - 0x42e], 0
jne 0x10049938
mov edx, dword [ebp - 0x428]
sub edx, dword [ebp - 0x42c]
sar edx, 1
mov dword [ebp - 0x434], edx
je 0x100499bb
lea eax, [ebp - 0x244]
push eax
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x100499bb
lea ecx, [ebp - 0x244]
push ecx
xor esi, esi
call fcn.10013ed0
add esp, 4
test eax, eax
je 0x100499bb
mov edx, dword [ebp - 0x18]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x17
mov ecx, 0x11697410
mov eax, 0xafa850
mov edi, 5
lea esi, [ebp - 0x294]
call fcn.10057130
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x43c]
call fcn.10057100
push eax
push 0x75
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x294]
call fcn.10057150
push esi
push edi
mov esi, dword [ebp - 0x18]
mov edi, esi
cmp dword [edi], 0x211
jle 0x10049ad4
pop edx
inc dword fs:[0x638]
mov esi, edx
mov ebx, dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [eax + ebx]
mov edi, dword [edi]
mov ebx, dword [edi + eax*4]
sub esp, ecx
mov edi, dword [ebp + 0x68]
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], 0xbadb0d00
mov dword [ebp], ebx
mov dword [ebp + 4], edi
push dword ds:[0xffdf0304]
push 0
push ebp
push ebx
push esi
push edi
mov ebx, dword fs:[0x1c]
cmp dword [ebp - 0x20], 0xa
jge 0x10049a91
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
xor edx, dword [ecx + eax*4]
imul edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
jmp 0x1004983d
mov eax, dword [ebp - 0x34]
shl eax, 0xd
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
sar eax, 7
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
lea edx, [ecx + eax*8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
sar eax, 0x11
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
shl eax, 5
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, 0x100498a0
push eax
ret
push edi
pop edi
pop edi
pop esi
mov eax, eax
jmp 0x10049dd8
cmp dword [ebp + 8], 0x23
jne 0x10049c5e
mov dword [ebp - 0x440], 0x100dcd70
lea edx, [ebp - 0x244]
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x440]
mov dx, word [ecx]
mov word [ebp - 0x44a], dx
mov eax, dword [ebp - 0x444]
mov cx, word [ebp - 0x44a]
mov word [eax], cx
mov edx, dword [ebp - 0x440]
add edx, 2
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x444]
add eax, 2
mov dword [ebp - 0x444], eax
cmp word [ebp - 0x44a], 0
jne 0x10049b0b
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x450], ecx
mov edx, dword [ebp - 0x450]
add edx, 2
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x450]
mov cx, word [eax]
mov word [ebp - 0x456], cx
add dword [ebp - 0x450], 2
cmp word [ebp - 0x456], 0
jne 0x10049b6e
mov edx, dword [ebp - 0x450]
sub edx, dword [ebp - 0x454]
sar edx, 1
mov dword [ebp - 0x45c], edx
je 0x10049bf1
lea eax, [ebp - 0x244]
push eax
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x10049bf1
lea ecx, [ebp - 0x244]
push ecx
xor esi, esi
call fcn.10013ed0
add esp, 4
test eax, eax
je 0x10049bf1
mov edx, dword [ebp - 0x18]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x17
mov ecx, 0x11697410
mov eax, 0xafa850
mov edi, 5
lea esi, [ebp - 0x29c]
call fcn.10057130
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x464], ecx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x464]
call fcn.10057100
push eax
push 0xa7
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x29c]
call fcn.10057150
jmp 0x10049dd8
cmp dword [ebp + 8], 0x24
jne 0x10049dd8
mov dword [ebp - 0x468], 0x100dcb68
lea edx, [ebp - 0x244]
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x468]
mov dx, word [ecx]
mov word [ebp - 0x472], dx
mov eax, dword [ebp - 0x46c]
mov cx, word [ebp - 0x472]
mov word [eax], cx
mov edx, dword [ebp - 0x468]
add edx, 2
mov dword [ebp - 0x468], edx
mov eax, dword [ebp - 0x46c]
add eax, 2
mov dword [ebp - 0x46c], eax
cmp word [ebp - 0x472], 0
jne 0x10049c8a
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x478]
add edx, 2
mov dword [ebp - 0x47c], edx
mov eax, dword [ebp - 0x478]
mov cx, word [eax]
mov word [ebp - 0x47e], cx
add dword [ebp - 0x478], 2
cmp word [ebp - 0x47e], 0
jne 0x10049ced
mov edx, dword [ebp - 0x478]
sub edx, dword [ebp - 0x47c]
sar edx, 1
mov dword [ebp - 0x484], edx
je 0x10049d70
lea eax, [ebp - 0x244]
push eax
mov eax, 0x100e3aa4
call fcn.10057600
test eax, eax
je 0x10049d70
lea ecx, [ebp - 0x244]
push ecx
xor esi, esi
call fcn.10013ed0
add esp, 4
test eax, eax
je 0x10049d70
mov edx, dword [ebp - 0x18]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10079c70
add esp, 4
mov eax, 1
jmp 0x1004a0b9
push 0x17
mov ecx, 0x11697410
mov eax, 0xafa850
mov edi, 5
lea esi, [ebp - 0x2a4]
call fcn.10057130
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x48c]
call fcn.10057100
push eax
push 0xa8
mov eax, 0x100e3918
call fcn.10057500
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2a4]
call fcn.10057150
cmp dword [ebp - 0x248], 0
je 0x1004a09e
mov edx, dword [ebp - 0x248]
push edx
mov eax, 0x100e39dc
call fcn.10057690
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x248]
push eax
mov eax, 0x100e3994
call fcn.10057690
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x1004a09e
cmp dword [ebp - 0x24c], 0
je 0x1004a09e
mov ecx, dword [ebp - 0x250]
push ecx
mov eax, 0x100e399c
call fcn.10057600
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x1004a09e
mov edx, dword [ebp - 0x24c]
push edx
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x10049e8c
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call fcn.10081350
add esp, 0xc
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x25c]
call fcn.100488f0
push 0x100a2368
lea eax, [ebp - 0x244]
push eax
call fcn.1007c019
add esp, 8
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
je 0x10049f07
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
push 1
mov eax, dword [ebp - 0x25c]
push eax
call fcn.1007c192
add esp, 0x10
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.1007c39e
add esp, 4
mov edx, dword [ebp - 0x258]
push edx
call fcn.1007c471
add esp, 4
mov dword [ebp - 0x30], 1
push 0x2c
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xb
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xb
jge 0x10049ffe
mov eax, dword [ebp - 0x34]
imul eax, eax, 7
mov ecx, dword [ebp - 0x34]
lea edx, [eax + ecx*2 + 1]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x200
jle 0x10049fea
push 2
add edx, 8
push ebp
push ebx
cmp ebp, esp
and dword [ebp + 0x2c], 0
test byte [esi + 0x2c], 0xff
mov dword [esi + 0x134], ebp
test byte [esi + 0x2c], 0xff
mov dword [esi + 0x134], ebp
test byte [esi + 0x2c], 0xff
mov dword [esi + 0x134], ebp
mov ebx, eax
and eax, 0xfff
cmp eax, dword [edi + 8]
mov ebx, dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [eax + ebx]
test byte [esi + 0x2c], 0xff
mov dword [esi + 0x134], ebp
mov ecx, edi
add edi, dword [esi + 0xe0]
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jle 0x1004a03f
mov ebx, eax
and eax, 0xfff
push 1
sub esp, 0x48
sub ebp, 0x29c
mov byte [esi + 0x140], 1
mov edi, dword [edi]
mov ebx, dword [edi + eax*4]
sub esp, ecx
mov ebx, dword [ebp + 0x66]
mov edi, dword [ebp + 0x68]
sub ebp, 0x29c
mov byte [esi + 0x140], 1
shr ecx, 2
mov edi, esp
mov esp, ebp
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
jmp 0x10049f29
mov dword [ebp - 0x2c], 0xb
mov dword [ebp - 0x34], 0
jmp 0x1004a048
mov eax, 0x10049fa1
push eax
ret
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb
jge 0x1004a06a
mov eax, dword [ebp - 0x2c]
shl eax, 4
mov ecx, dword [ebp - 0x2c]
sar ecx, 0x1c
xor eax, ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + edx*4]
mov dword [ebp - 0x2c], eax
jmp 0x1004a00e
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.10079c70
add esp, 4
cmp dword [ebp - 0x25c], 0
je 0x1004a09e
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.10079c70
add esp, 4
mov dword [ebp - 0x25c], 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10079c70
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.10079a05
mov esp, ebp
pop ebp
ret