Function at 0x1004d910
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x1c], eax
push 4
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
call fcn.10079c4e
cdq
mov ecx, 0x65
idiv ecx
add edx, 2
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
call fcn.10079c4e
cdq
mov ecx, 0x65
idiv ecx
add edx, 0x200
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.1004b7e0
add esp, 0x14
mov dword [ebp - 4], 0
call fcn.1004a6a0
test eax, eax
jne 0x1004da0b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10079c70
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10079c70
add esp, 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10013100
mov eax, dword [ebp - 0x40]
jmp 0x1004dc43
call fcn.1001fcd0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
push 0x100dc140
call fcn.1004c8e0
add esp, 8
push 0x61
mov ecx, 0xb1f01122
mov eax, 0x50f2f589
mov edi, 4
lea esi, [ebp - 0x48]
call fcn.10057130
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
push 0
lea eax, [ebp - 0x18]
call fcn.10013470
mov esi, eax
push 0x100dc140
mov eax, dword [ebp - 0x60]
call fcn.10057100
push eax
mov ecx, esi
xor edi, edi
call fcn.1000dcc0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea esi, [ebp - 0x48]
call fcn.10057150
push 0x28
call fcn.10079b72
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0x5c6b7
mov dword [ebp - 0x34], 0xf8c9
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x3c], 0xa
jge 0x1004db93
mov eax, dword [ebp - 0x3c]
imul eax, eax, 9
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0x200
jle 0x1004db42
pushfd
push 2
add edx, 8
popfd
push dword ds:[0xffdf0803]
push 0
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], 0xbadb0d00
pop edx
sub esp, ecx
shr ecx, 2
mov edi, esp
mov ecx, dword fs:[0x40]
mov esp, dword [ecx + 4]
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0x200
jne 0x1004db7f
push 0x23
mov ebx, dword fs:[0x1c]
push 0x3b
mov esi, dword [ebx + 0x124]
test byte [esi + 0x2c], 0xff
mov dword [esi + 0x134], ebp
mov ebx, dword [ebp + 0x60]
mov ebx, eax
and eax, 0xfff
cmp eax, dword [edi + 8]
cmp ecx, 0x10
mov edi, dword [edi]
mov ebx, dword [edi + eax*4]
sub esp, ecx
shr ecx, 2
mov edi, esp
xor ebx, ebx
or ebx, dword [ecx + 0xf70]
push edx
push eax
mov edx, 0x1004daf6
push edx
ret
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x1004daac
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0
jmp 0x1004dbac
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jge 0x1004dbd1
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
jmp 0x1004dba3
mov eax, dword [ebp - 0x3c]
and eax, 0x7fffffff
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.10079c70
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x1004dc13
cmp dword [ebp + 0xc], 5
je 0x1004dbfa
cmp dword [ebp + 0xc], 4
jne 0x1004dc13
lea esi, [ebp - 0x18]
call fcn.1002c410
push eax
push 0x100dc140
call fcn.1004a6d0
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10079c70
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10079c70
add esp, 4
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10013100
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret