Function at 0x1005adf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007450f
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x1008d200]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x14], 0
test edi, edi
je 0x1005ae64
lea eax, [ecx + edi*4 - 4]
mov edi, edi
cmp dword [eax], 0
jne 0x1005ae4d
sub eax, 4
dec edi
jne 0x1005ae40
jmp 0x1005ae64
test edi, edi
je 0x1005ae64
lea eax, [ecx + edi*4 - 4]
call fcn.1002da20
dec edi
mov esi, eax
shl edi, 5
add esi, edi
jne 0x1005ae8b
call fcn.10049590
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.10044850
mov eax, esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
call fcn.10048880
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, ebx
mov dword [esp + 0xf4], 0
call fcn.1002e760
add esp, 4
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf8], 1
call fcn.100303c0
mov byte [esp + 0xf0], 3
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
xor eax, eax
mov edx, ecx
mov ebx, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x1005aef7
call fcn.1005d890
jmp 0x1005aefc
call fcn.1005cffc
add esp, 4
call fcn.10049590
push eax
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x6c]
call fcn.100303c0
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xf8], 4
call fcn.10044850
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf8], 5
call fcn.10048aa0
push eax
lea ecx, [esp + 0x6c]
call fcn.10048280
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10044850
dec esi
mov byte [esp + 0xf0], 6
je 0x1005b212
jmp 0x1005af75
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
dec esi
mov eax, esi
shr eax, 5
mov dword [esp + 0x24], esi
cmp eax, dword [ecx + 8]
jae 0x1005b0d1
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
je 0x1005b0d1
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0xc8]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
lea eax, [edi*8]
push esi
mov dword [esp + 0x20], eax
push edx
add eax, ebx
push eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x54]
push ebx
mov dword [esp + 0x28], edi
call fcn.100439c0
mov eax, dword [esp + 0x54]
lea ecx, [edi + edi]
sub ecx, eax
add esp, 0x10
sub ecx, esi
je 0x1005affd
add eax, esi
lea edi, [ebx + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push ebx
push eax
mov eax, dword [esp + 0xc4]
lea ecx, [ebx + edx]
call fcn.10043de0
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x6c]
call fcn.10048280
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
call fcn.10044aa0
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
lea ecx, [ebx*8]
push esi
mov dword [esp + 0x20], ecx
push edx
add ecx, eax
push ecx
mov edi, eax
push eax
mov dword [esp + 0x24], edi
call fcn.10043620
mov ecx, ebx
sub ecx, esi
add esp, 0x10
add ecx, ecx
je 0x1005b08c
lea edi, [edi + esi*8]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [ecx + edi]
push edx
mov edi, ebx
call fcn.10043de0
add esp, 0xc
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x6c]
call fcn.10048280
lea edx, [esp + 0x28]
jmp 0x1005b1ff
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0xc8]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [edi*8]
mov dword [esp + 0x20], eax
push edx
add eax, ebx
push eax
push ebx
mov eax, esi
mov dword [esp + 0x24], edi
call fcn.100439c0
mov eax, dword [esp + 0x40]
lea ecx, [edi + edi]
sub ecx, esi
add esp, 0x10
sub ecx, eax
je 0x1005b131
lea edx, [esi + eax]
lea edi, [ebx + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0xbc]
push ebx
add ecx, ebx
push edx
call fcn.10043de0
add esp, 0xc
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x6c]
call fcn.10048280
lea edx, [esp + 0x28]
push edx
mov edi, eax
call fcn.10044aa0
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
lea ecx, [ebx*8]
push esi
mov dword [esp + 0x20], ecx
push edx
add ecx, eax
push ecx
mov edi, eax
push eax
mov dword [esp + 0x24], edi
call fcn.10043620
mov ecx, ebx
sub ecx, esi
add esp, 0x10
add ecx, ecx
je 0x1005b1bf
lea edi, [edi + esi*8]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [edi + eax]
mov eax, dword [esp + 0xc0]
push edx
mov edi, ebx
call fcn.10043de0
add esp, 0xc
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x6c]
call fcn.10048280
lea edx, [esp + 0x3c]
push edx
mov edi, eax
call fcn.10044aa0
cmp dword [esp + 0x24], 0
jne 0x1005af71
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x3c]
push eax
push ebx
lea ecx, [esp + 0x6c]
call fcn.10048b10
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor eax, eax
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push esi
cmp ecx, 0x10
jb 0x1005b248
call fcn.1005d890
jmp 0x1005b24d
call fcn.1005cffc
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ecx, edx
add edx, edx
add esp, 4
xor eax, eax
add edx, edx
mov edi, esi
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1005b271
call fcn.1005d890
jmp 0x1005b276
call fcn.1005cffc
mov ecx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe0]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
add esp, 4
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x1005b2a3
call fcn.1005d890
jmp 0x1005b2a8
call fcn.1005cffc
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [edx*4]
push esi
cmp ecx, 0x10
jb 0x1005b2cf
call fcn.1005d890
jmp 0x1005b2d4
call fcn.1005cffc
add esp, 4
lea esi, [esp + 0x64]
call fcn.10030670
mov eax, ebx
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret