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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7507db
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
mov ebx, dword [esp + 0xac]
push esi
push edi
mov edi, dword [esp + 0xb8]
mov ebp, ecx
xor esi, esi
mov edx, dword [edi]
inc edx
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
jle 0x5ad826
mov byte [esp + 0x14], 0
jmp 0x5ad831
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + eax - 1]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
and eax, 0xff
cmp eax, 1
je 0x5ad84e
mov dword [ebp + 0x2e0], 0xffffffff
jmp 0x5ae1b3
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00404760
mov cl, byte [esp + 0x13]
mov dword [esp + 0xac], esi
mov byte [esp + 0x44], cl
push esi
lea ecx, [esp + 0x48]
call fcn.00404760
mov dl, byte [esp + 0x13]
mov byte [esp + 0xac], 1
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00404760
mov al, byte [esp + 0x13]
mov byte [esp + 0xac], 2
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.00404760
mov eax, dword [ebp + 0x2f0]
mov byte [esp + 0xac], 3
cmp eax, esi
jne 0x5add44
mov eax, dword [ebp + 0x2c0]
cmp eax, esi
jne 0x5ad8d1
xor ecx, ecx
jmp 0x5ad8dc
mov ecx, dword [ebp + 0x2c4]
sub ecx, eax
sar ecx, 6
mov eax, dword [ebp + 0x2e0]
cmp eax, ecx
jae 0x5ad96b
cmp eax, 0xffffffff
je 0x5ad96b
mov esi, dword [ebp + 0x2c0]
test eax, eax
mov dword [esp + 0x20], esi
jle 0x5ad906
shl eax, 6
add esi, eax
mov dword [esp + 0x20], esi
mov edx, dword [edi]
add edx, 4
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
jle 0x5ad920
mov dword [esp + 0x18], 0
jmp 0x5ad92b
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + eax - 4]
mov dword [esp + 0x18], edx
inc eax
mov dword [edi], eax
mov ecx, dword [ebx + 4]
cmp eax, ecx
jle 0x5ad93c
mov byte [esp + 0x14], 0
jmp 0x5ad947
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + eax - 1]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
and eax, 0xff
push eax
lea eax, [esp + 0x38]
push eax
push edi
push ebx
call fcn.0045cc90
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 4]
add esp, 0x10
cmp eax, ecx
je 0x5ad9bf
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 2
call fcn.00404760
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0xb0], 1
call fcn.00404760
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 0
call fcn.00404760
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00404760
jmp 0x5ae1b3
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], dl
call fcn.00404760
mov al, byte [esi]
mov byte [esp + 0xac], 4
cmp al, 1
jne 0x5ada46
mov esi, dword [esi + 8]
test esi, esi
je 0x5adac4
mov eax, 0x10624dd3
lea ecx, [esp + 0x14]
mul esi
shr edx, 6
mov esi, dword [0x93c898]
push ecx
lea eax, [edx + edx*4]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x1c], eax
call fcn.0045e410
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x5adac4
add eax, 0x10
test eax, eax
je 0x5adac4
mov ecx, dword [0x76560c]
add eax, 8
push ecx
push 0
push eax
jmp 0x5adabb
cmp dword [esi + 0x38], 2
jne 0x5adaae
lea edx, [esp + 0x64]
push edx
push 0x3071
call fcn.006a8c20
mov esi, dword [esi + 0x28]
add esp, 8
test esi, esi
jne 0x5ada6a
mov esi, 0x765608
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x5ada77
mov eax, 0x765608
push esi
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00727335
lea edi, [esp + 0x90]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004047b0
jmp 0x5adac4
mov edx, dword [0x76560c]
add esi, 0x24
push edx
push 0
push esi
lea ecx, [esp + 0x60]
call fcn.00404560
mov esi, dword [esp + 0x20]
mov eax, dword [0x76560c]
push eax
push 0
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.00404560
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x5adb28
mov edi, 0x7c4d78
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call fcn.00401450
test al, al
je 0x5adb63
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00404970
jmp 0x5adb63
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.005afdd0
mov ecx, dword [0x76560c]
mov byte [esp + 0xac], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.00404560
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb0], 4
call fcn.00404760
mov ebx, dword [esp + 0x20]
mov ecx, 5
lea esi, [ebp + 0xe4]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x2e0]
mov dword [esp + 0x18], edx
cdq
idiv ecx
xor edi, edi
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
cmp edi, eax
mov eax, dword [esi]
jne 0x5adbaf
test eax, eax
je 0x5adbc3
mov ecx, dword [eax]
test ecx, ecx
je 0x5adbc3
mov edx, dword [ecx]
push 0x150
call dword [edx + pe_nt_image_headers32]
jmp 0x5adbc3
test eax, eax
je 0x5adbc3
mov ecx, dword [eax]
test ecx, ecx
je 0x5adbc3
mov eax, dword [ecx]
push 0x110
call dword [eax + pe_nt_image_headers32]
inc edi
add esi, 0x24
cmp edi, 5
jl 0x5adb8f
mov eax, dword [ebx + 8]
test eax, eax
jne 0x5adc6e
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x5adc6e
mov esi, dword [ebp + 0x2c0]
mov ecx, esi
test ecx, ecx
jne 0x5adbf2
xor eax, eax
jmp 0x5adbfd
mov eax, dword [ebp + 0x2c4]
sub eax, ecx
sar eax, 6
mov ecx, dword [ebp + 0x2e0]
cmp ecx, eax
ja 0x5adc6e
test ecx, ecx
jle 0x5adc10
shl ecx, 6
add esi, ecx
mov ebx, dword [ebp + 0x2c4]
add esi, 0x40
cmp esi, ebx
je 0x5adc32
lea edi, [esi - 0x40]
push esi
mov ecx, edi
call fcn.005b2e80
add esi, 0x40
add edi, 0x40
cmp esi, ebx
jne 0x5adc20
mov eax, dword [ebp + 0x2c4]
lea esi, [ebp + 0x2bc]
push eax
add eax, 0xffffffc0
push eax
mov ecx, esi
call fcn.005b17b0
mov ecx, dword [esi + 8]
add ecx, 0xffffffc0
mov dword [esi + 8], ecx
mov ecx, ebp
mov byte [ebp + 0x2e4], 0
call fcn.005abbc0
push 0
mov ecx, ebp
call fcn.005a9bb0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x2b0]
test eax, eax
je 0x5add2c
mov cl, byte [ebx]
lea edx, [esp + 0x24]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004257d0
mov eax, dword [ebp + 0x2f0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [ebp + 0x2b0]
push edx
mov byte [esp + 0xcc], 4
call fcn.005b67d0
mov al, byte [esp + 0x34]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00404760
mov ecx, dword [0x76560c]
lea edx, [esp + 0x44]
push ecx
push 0
push edx
mov ecx, esi
call fcn.00404560
sub esp, 0x10
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0xd0], 7
call fcn.004257d0
sub esp, 0x10
mov byte [esp + 0xdc], 8
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004257d0
mov ecx, dword [ebp + 0x2b0]
mov byte [esp + 0xdc], 4
call fcn.005b66a0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 3
call fcn.00404760
jmp 0x5adff5
cmp eax, 1
jne 0x5ae0d9
mov eax, dword [ebp + 0x2d0]
cmp eax, esi
jne 0x5add5b
xor edx, edx
jmp 0x5add74
mov ecx, dword [ebp + 0x2d4]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp + 0x2e0]
cmp eax, edx
jae 0x5ad96b
cmp eax, 0xffffffff
je 0x5ad96b
mov esi, dword [ebp + 0x2d0]
test eax, eax
jle 0x5add9f
mov ecx, eax
shl ecx, 4
add ecx, eax
lea esi, [esi + ecx*4]
mov edx, dword [edi]
add edx, 4
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
jle 0x5addb9
mov dword [esp + 0x18], 0
jmp 0x5addc4
mov edx, dword [ebx + 8]
mov ecx, dword [edx + eax - 4]
mov dword [esp + 0x18], ecx
inc eax
mov dword [edi], eax
mov ecx, dword [ebx + 4]
cmp eax, ecx
jle 0x5addd5
mov byte [esp + 0x14], 0
jmp 0x5adde0
mov edx, dword [ebx + 8]
mov al, byte [edx + eax - 1]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
and eax, 0xff
push eax
push ecx
push edi
push ebx
call fcn.0045cc90
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
add esp, 0x10
cmp eax, edx
jne 0x5ad96b
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], al
call fcn.00404760
mov ecx, dword [0x76560c]
lea edx, [esi + 0x28]
push ecx
push 0
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xb8], 0xa
call fcn.00404560
mov eax, dword [0x76560c]
lea ecx, [esi + 0x18]
push eax
push 0
push ecx
lea ecx, [esp + 0x50]
call fcn.00404560
mov edx, dword [esi + 0x38]
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, ebp
call fcn.005afdd0
mov ecx, dword [0x76560c]
mov byte [esp + 0xac], 0xb
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.00404560
mov eax, dword [esp + 0x78]
mov byte [esp + 0xac], 0xa
test eax, eax
je 0x5adea6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ade9d
cmp al, 0xff
je 0x5ade9d
dec al
mov byte [ecx], al
jmp 0x5adea6
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x2e0]
mov dword [esp + 0x18], edx
mov ecx, 5
cdq
idiv ecx
xor ebx, ebx
lea edi, [ebp + 0x1b8]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
cmp ebx, eax
mov eax, dword [edi]
jne 0x5adeee
test eax, eax
je 0x5adf02
mov ecx, dword [eax]
test ecx, ecx
je 0x5adf02
mov edx, dword [ecx]
push 0x150
call dword [edx + pe_nt_image_headers32]
jmp 0x5adf02
test eax, eax
je 0x5adf02
mov ecx, dword [eax]
test ecx, ecx
je 0x5adf02
mov eax, dword [ecx]
push 0x4110
call dword [eax + pe_nt_image_headers32]
inc ebx
add edi, 0x24
cmp ebx, 5
jl 0x5adece
mov eax, dword [ebp + 0x2b0]
test eax, eax
je 0x5adfc8
mov cl, byte [esi]
lea edx, [esp + 0x24]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004257d0
mov eax, dword [ebp + 0x2f0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [ebp + 0x2b0]
push edx
mov byte [esp + 0xcc], 0xa
call fcn.005b67d0
mov al, byte [esp + 0x34]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
mov byte [ecx], al
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov edx, dword [0x76560c]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00404560
sub esp, 0x10
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0xd0], 0xd
call fcn.004257d0
sub esp, 0x10
mov byte [esp + 0xdc], 0xe
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004257d0
mov ecx, dword [ebp + 0x2b0]
mov byte [esp + 0xdc], 0xa
call fcn.005b66a0
mov eax, dword [esp + 0x68]
mov byte [esp + 0xac], 3
test eax, eax
je 0x5adff5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5adfec
cmp al, 0xff
je 0x5adfec
dec al
mov byte [ecx], al
jmp 0x5adff5
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x28]
mov byte [esp + 0xac], 2
test eax, eax
je 0x5ae022
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ae019
cmp al, 0xff
je 0x5ae019
dec al
mov byte [ecx], al
jmp 0x5ae022
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
cmp eax, ecx
mov byte [esp + 0xac], 1
je 0x5ae05d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ae054
cmp al, 0xff
je 0x5ae054
dec al
mov byte [ecx], al
jmp 0x5ae05d
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
cmp eax, ecx
mov byte [esp + 0xac], cl
je 0x5ae097
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ae08e
cmp al, 0xff
je 0x5ae08e
dec al
mov byte [ecx], al
jmp 0x5ae097
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
cmp ecx, eax
mov dword [esp + 0xac], 0xffffffff
je 0x5ae1b3
mov al, byte [ecx - 1]
test al, al
je 0x5ae1a9
cmp al, 0xff
je 0x5ae1a9
dec al
mov byte [ecx - 1], al
jmp 0x5ae1b3
mov eax, dword [esp + 0x28]
mov byte [esp + 0xac], 2
cmp eax, esi
je 0x5ae106
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ae0fd
cmp al, 0xff
je 0x5ae0fd
dec al
mov byte [ecx], al
jmp 0x5ae106
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
cmp eax, esi
mov byte [esp + 0xac], 1
je 0x5ae13f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ae136
cmp al, 0xff
je 0x5ae136
dec al
mov byte [ecx], al
jmp 0x5ae13f
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp eax, esi
mov byte [esp + 0xac], 0
je 0x5ae178
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ae16f
cmp al, 0xff
je 0x5ae16f
dec al
mov byte [ecx], al
jmp 0x5ae178
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp ecx, esi
mov dword [esp + 0xac], 0xffffffff
je 0x5ae1b3
mov al, byte [ecx - 1]
test al, al
je 0x5ae1a9
cmp al, 0xff
je 0x5ae1a9
dec al
mov byte [ecx - 1], al
jmp 0x5ae1b3
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 8